Skip to content

Commit b189c1e

Browse files
committed
💡 删除不必要的注释和代码
1 parent eefbcd9 commit b189c1e

File tree

27 files changed

+75
-388
lines changed

27 files changed

+75
-388
lines changed

pom.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@
2929
<module>springboot-interceptor</module>
3030
<module>springboot-validator</module>
3131
<module>springboot-websocket</module>
32+
<module>springboot-urlprovider</module>
3233
</modules>
3334

3435
<parent>
3536
<groupId>org.springframework.boot</groupId>
3637
<artifactId>spring-boot-starter-parent</artifactId>
37-
<version>1.5.6.RELEASE</version>
38+
<!--<version>2.1.6.RELEASE</version>-->
39+
<version>2.1.0.RELEASE</version>
3840
<relativePath/>
3941
</parent>
4042
<properties>
@@ -43,6 +45,10 @@
4345
<java.version>1.8</java.version>
4446
</properties>
4547
<dependencies>
48+
<dependency>
49+
<groupId>org.springframework.boot</groupId>
50+
<artifactId>spring-boot-starter</artifactId>
51+
</dependency>
4652
<dependency>
4753
<groupId>org.springframework.boot</groupId>
4854
<artifactId>spring-boot-starter-web</artifactId>
@@ -58,11 +64,15 @@
5864
<artifactId>spring-boot-starter-actuator</artifactId>
5965
</dependency>
6066

61-
<!--springboot中修改完文件后自动reload的插件,修改完文件Ctrl + F9 Make一下就可以 -->
67+
<!--springboot中修改完文件后自动reload的插件 end -->
6268
<dependency>
63-
<groupId>org.springframework</groupId>
64-
<artifactId>springloaded</artifactId>
69+
<groupId>org.projectlombok</groupId>
70+
<artifactId>lombok</artifactId>
71+
</dependency>
72+
<dependency>
73+
<groupId>com.alibaba</groupId>
74+
<artifactId>fastjson</artifactId>
75+
<version>1.2.52</version>
6576
</dependency>
66-
<!--springboot中修改完文件后自动reload的插件 end -->
6777
</dependencies>
6878
</project>

springboot-aop/src/main/java/me/zhyd/springboot/aop/annotation/BusinessLogAnnotation.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/**
2-
* Copyright [2016-2017] [yadong.zhang]
3-
* <p>
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
* <p>
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
* <p>
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
161
package me.zhyd.springboot.aop.annotation;
172

183
import java.lang.annotation.ElementType;

springboot-aop/src/main/java/me/zhyd/springboot/aop/aspects/BusinessLogAspect.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/**
2-
* Copyright [2016-2017] [yadong.zhang]
3-
* <p>
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
* <p>
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
* <p>
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
161
package me.zhyd.springboot.aop.aspects;
172

183
import me.zhyd.springboot.aop.annotation.BusinessLogAnnotation;

springboot-errorpage/pom.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,4 @@
1919
</dependency>
2020
</dependencies>
2121

22-
<build>
23-
<plugins>
24-
<plugin>
25-
<groupId>org.springframework.boot</groupId>
26-
<artifactId>spring-boot-maven-plugin</artifactId>
27-
<dependencies>
28-
<dependency>
29-
<groupId>org.springframework</groupId>
30-
<artifactId>springloaded</artifactId>
31-
<version>1.2.3.RELEASE</version>
32-
</dependency>
33-
</dependencies>
34-
</plugin>
35-
</plugins>
36-
</build>
3722
</project>

springboot-freemark/pom.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,4 @@
2020
</dependency>
2121
</dependencies>
2222

23-
<build>
24-
<plugins>
25-
<plugin>
26-
<groupId>org.springframework.boot</groupId>
27-
<artifactId>spring-boot-maven-plugin</artifactId>
28-
<dependencies>
29-
<dependency>
30-
<groupId>org.springframework</groupId>
31-
<artifactId>springloaded</artifactId>
32-
<version>1.2.3.RELEASE</version>
33-
</dependency>
34-
</dependencies>
35-
</plugin>
36-
</plugins>
37-
</build>
3823
</project>

springboot-interceptor/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,5 @@
2424
<version>3.8.1</version>
2525
<scope>test</scope>
2626
</dependency>
27-
<dependency>
28-
<groupId>org.springframework.boot</groupId>
29-
<artifactId>spring-boot-starter-web</artifactId>
30-
</dependency>
3127
</dependencies>
3228
</project>

springboot-interceptor/src/main/java/me/zhyd/springboot/interceptor/CustomInterceptor1.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/**
2-
* Copyright [2016-2017] [yadong.zhang]
3-
* <p>
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
* <p>
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
* <p>
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
161
package me.zhyd.springboot.interceptor;
172

183
import org.springframework.core.MethodParameter;

springboot-interceptor/src/main/java/me/zhyd/springboot/interceptor/CustomInterceptor2.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
/**
2-
* Copyright [2016-2017] [yadong.zhang]
3-
* <p>
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
* <p>
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
* <p>
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
161
package me.zhyd.springboot.interceptor;
172

183
import org.springframework.web.servlet.HandlerInterceptor;

springboot-jsp/pom.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,4 @@
2424
</dependency>
2525

2626
</dependencies>
27-
<build>
28-
<plugins>
29-
<plugin>
30-
<groupId>org.springframework.boot</groupId>
31-
<artifactId>spring-boot-maven-plugin</artifactId>
32-
<dependencies>
33-
<dependency>
34-
<groupId>org.springframework</groupId>
35-
<artifactId>springloaded</artifactId>
36-
<version>1.2.3.RELEASE</version>
37-
</dependency>
38-
</dependencies>
39-
</plugin>
40-
</plugins>
41-
</build>
4227
</project>

springboot-multi-datasource/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
<artifactId>mysql-connector-java</artifactId>
3535
<scope>runtime</scope>
3636
</dependency>
37-
<dependency>
38-
<groupId>org.springframework.boot</groupId>
39-
<artifactId>spring-boot-starter-test</artifactId>
40-
<scope>test</scope>
41-
</dependency>
4237
<!--testMybatis-->
4338
<dependency>
4439
<groupId>org.mybatis.spring.boot</groupId>

0 commit comments

Comments
 (0)