Skip to content

Commit 1b8c661

Browse files
authored
Merge pull request #986 from hazendaz/tests
[todo] Add a note about code that seems to be incorrectly written
2 parents aaaa887 + eb2de4d commit 1b8c661

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/mybatis/spring/SqlSessionFactoryBean.java

+1
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ private <T> T[] appendArrays(T[] oldArrays, T[] newArrays, IntFunction<T[]> gene
565565
public void afterPropertiesSet() throws Exception {
566566
notNull(dataSource, "Property 'dataSource' is required");
567567
notNull(sqlSessionFactoryBuilder, "Property 'sqlSessionFactoryBuilder' is required");
568+
// TODO Review this statement as it seems off!
568569
state((configuration == null && configLocation == null) || !(configuration != null && configLocation != null),
569570
"Property 'configuration' and 'configLocation' can not specified with together");
570571

0 commit comments

Comments
 (0)