Skip to content

Commit 3e74017

Browse files
committed
[Update] pom.xml 更新source插件版本, 删除无用插件;
[Add] NotAccepted 补充Javadoc;
1 parent 1b951fe commit 3e74017

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,10 @@
123123
<artifactId>maven-site-plugin</artifactId>
124124
<version>3.7.1</version>
125125
</plugin>
126-
<plugin>
127-
<artifactId>maven-project-info-reports-plugin</artifactId>
128-
<version>3.0.0</version>
129-
</plugin>
130126
<plugin>
131127
<groupId>org.apache.maven.plugins</groupId>
132128
<artifactId>maven-source-plugin</artifactId>
133-
<version>2.4</version>
129+
<version>3.2.1</version>
134130
<executions>
135131
<execution>
136132
<id>attach-sources</id>

src/main/java/net/lamgc/utils/event/NotAccepted.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
import java.lang.annotation.RetentionPolicy;
66
import java.lang.annotation.Target;
77

8+
/**
9+
* 标注了该注解的方法, 即使满足了EventHandler接收事件所需方法的条件, 也不会收到事件.
10+
*/
811
@Target({ElementType.METHOD})
912
@Retention(RetentionPolicy.RUNTIME)
1013
public @interface NotAccepted {

0 commit comments

Comments
 (0)