Skip to content

Commit

Permalink
Update validator target to Type only
Browse files Browse the repository at this point in the history
  • Loading branch information
micryc committed Aug 19, 2024
1 parent dc208bb commit 2bbfa9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

@Target({ElementType.FIELD, ElementType.TYPE})
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(validatedBy = NotUndefinedValidator.class)
Expand Down

0 comments on commit 2bbfa9a

Please sign in to comment.