Skip to content

Commit c040553

Browse files
committed
Polish
1 parent 5f87a8f commit c040553

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/test/java/org/apache/ibatis/submitted/cache/CustomCacheMapper.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
*/
1616
package org.apache.ibatis.submitted.cache;
1717

18-
import org.apache.ibatis.annotations.*;
19-
import org.apache.ibatis.annotations.Options.FlushCachePolicy;
20-
21-
import java.util.List;
18+
import org.apache.ibatis.annotations.CacheNamespace;
19+
import org.apache.ibatis.annotations.Property;
2220

2321
@CacheNamespace(implementation = CustomCache.class, properties = {
24-
@Property(name = "stringValue", value = "bar")
25-
,@Property(name = "integerValue", value = "99")
26-
,@Property(name = "longValue", value = "9999")
22+
@Property(name = "stringValue", value = "bar"),
23+
@Property(name = "integerValue", value = "99"),
24+
@Property(name = "longValue", value = "9999")
2725
})
2826
public interface CustomCacheMapper {
2927
}

src/test/java/org/apache/ibatis/submitted/global_variables/AnnotationMapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
import org.apache.ibatis.annotations.Select;
2121

2222
@CacheNamespace(implementation = CustomCache.class, properties = {
23-
@Property(name = "stringValue", value = "${stringProperty}")
24-
,@Property(name = "integerValue", value = "${integerProperty}")
25-
,@Property(name = "longValue", value = "${longProperty}")
23+
@Property(name = "stringValue", value = "${stringProperty}"),
24+
@Property(name = "integerValue", value = "${integerProperty}"),
25+
@Property(name = "longValue", value = "${longProperty}")
2626
})
2727
public interface AnnotationMapper {
2828

0 commit comments

Comments
 (0)