Skip to content

Commit

Permalink
parameter.getClass() -> parameterType
Browse files Browse the repository at this point in the history
  • Loading branch information
jianghaolu committed Mar 9, 2016
1 parent aa043b7 commit d75ac2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ else if (TypeToken.of(Map.class).isAssignableFrom(propertyType)) {
Validator.validate(entry.getValue());
}
}
else if (parameter.getClass() != propertyType) {
else if (parameterType != propertyType) {
Validator.validate(property);
}
} catch (IllegalArgumentException ex) {
Expand Down

0 comments on commit d75ac2c

Please sign in to comment.