Skip to content

Commit

Permalink
BVAL-671 Changing default value of ExtractedValue#type() to void.class
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling authored and gsmet committed Jun 21, 2017
1 parent a44f12e commit 1a9efd0
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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.
* <p>
* Used to define value extractors for non-generic wrapper types e.g. {@link OptionalInt}.
Expand All @@ -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;

}

0 comments on commit 1a9efd0

Please sign in to comment.