Skip to content

Commit 57abaa0

Browse files
committed
remove redundant code...
1 parent 91acdf9 commit 57abaa0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/org/apache/ibatis/annotations/CacheNamespace.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.lang.annotation.RetentionPolicy;
2222
import java.lang.annotation.Target;
2323

24+
import org.apache.ibatis.cache.Cache;
2425
import org.apache.ibatis.cache.decorators.LruCache;
2526
import org.apache.ibatis.cache.impl.PerpetualCache;
2627

@@ -32,9 +33,9 @@
3233
@Retention(RetentionPolicy.RUNTIME)
3334
@Target(ElementType.TYPE)
3435
public @interface CacheNamespace {
35-
Class<? extends org.apache.ibatis.cache.Cache> implementation() default PerpetualCache.class;
36+
Class<? extends Cache> implementation() default PerpetualCache.class;
3637

37-
Class<? extends org.apache.ibatis.cache.Cache> eviction() default LruCache.class;
38+
Class<? extends Cache> eviction() default LruCache.class;
3839

3940
long flushInterval() default 0;
4041

0 commit comments

Comments
 (0)