Skip to content

Commit 7de6f0a

Browse files
committed
解决注释中的包名错误
1 parent 652f5d6 commit 7de6f0a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

spring/src/main/java/tk/mybatis/spring/annotation/MapperScan.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,18 @@
1515
*/
1616

1717
package tk.mybatis.spring.annotation;
18-
import java.lang.annotation.Annotation;
19-
import java.lang.annotation.Documented;
20-
import java.lang.annotation.ElementType;
21-
import java.lang.annotation.Retention;
22-
import java.lang.annotation.RetentionPolicy;
23-
import java.lang.annotation.Target;
2418

2519
import org.springframework.beans.factory.support.BeanNameGenerator;
2620
import org.springframework.context.annotation.Import;
2721
import tk.mybatis.spring.mapper.MapperFactoryBean;
2822
import tk.mybatis.spring.mapper.MapperScannerConfigurer;
2923

24+
import java.lang.annotation.*;
25+
3026
/**
3127
* Use this annotation to register MyBatis mapper interfaces when using Java
3228
* Config. It performs when same work as {@link MapperScannerConfigurer} via
33-
* {@link org.mybatis.spring.annotation.MapperScannerRegistrar}.
29+
* {@link tk.mybatis.spring.annotation.MapperScannerRegistrar}.
3430
*
3531
* <p>Configuration example:</p>
3632
* <pre class="code">
@@ -63,7 +59,7 @@
6359
* @author Eduardo Macarron
6460
*
6561
* @since 1.2.0
66-
* @see org.mybatis.spring.annotation.MapperScannerRegistrar
62+
* @see tk.mybatis.spring.annotation.MapperScannerRegistrar
6763
* @see MapperFactoryBean
6864
*/
6965
@Retention(RetentionPolicy.RUNTIME)

0 commit comments

Comments
 (0)