diff --git a/src/main/java/javax/validation/valueextraction/ExtractedValue.java b/src/main/java/javax/validation/valueextraction/ExtractedValue.java index c91f91df..182600ef 100644 --- a/src/main/java/javax/validation/valueextraction/ExtractedValue.java +++ b/src/main/java/javax/validation/valueextraction/ExtractedValue.java @@ -30,7 +30,7 @@ /** * Returns the type of the value extracted by the {@link ValueExtractor}. If not set, returns - * {@code Void.class}, meaning the type will be automatically inferred from the type argument + * {@code void.class}, meaning the type will be automatically inferred from the type argument * of the parameterized type. *

* Used to define value extractors for non-generic wrapper types e.g. {@link OptionalInt}. @@ -41,6 +41,6 @@ * * @return the type of the value extracted by the value extractor */ - Class type() default Void.class; + Class type() default void.class; }