Skip to content

Commit 60153b0

Browse files
author
Jegors Čemisovs
committed
Delete unused targets in Vertex annotation
1 parent 1818895 commit 60153b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample-cli/src/main/java/lv/id/jc/graph/cli/Vertex.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
import java.lang.annotation.RetentionPolicy;
77
import java.lang.annotation.Target;
88

9-
import static java.lang.annotation.ElementType.*;
9+
import static java.lang.annotation.ElementType.PARAMETER;
1010

11-
@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER})
11+
@Target({PARAMETER})
1212
@Retention(RetentionPolicy.RUNTIME)
1313
@Constraint(validatedBy = {Commands.class})
1414
public @interface Vertex {

0 commit comments

Comments
 (0)