Removed diamond operator
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/9c4b847a Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/9c4b847a Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/9c4b847a Branch: refs/heads/WICKET-5677 Commit: 9c4b847a7fb20b4f0ed24279c98e0c56ca55b70e Parents: bc4a55f Author: adelbene <an.delb...@gmail.com> Authored: Fri Aug 22 14:57:30 2014 +0200 Committer: adelbene <an.delb...@gmail.com> Committed: Fri Aug 22 14:57:30 2014 +0200 ---------------------------------------------------------------------- .../wicket/bean/validation/PropertyValidatorRequiredTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/9c4b847a/wicket-bean-validation/src/test/java/org/apache/wicket/bean/validation/PropertyValidatorRequiredTest.java ---------------------------------------------------------------------- diff --git a/wicket-bean-validation/src/test/java/org/apache/wicket/bean/validation/PropertyValidatorRequiredTest.java b/wicket-bean-validation/src/test/java/org/apache/wicket/bean/validation/PropertyValidatorRequiredTest.java index 8edea4c..4b0ebd6 100644 --- a/wicket-bean-validation/src/test/java/org/apache/wicket/bean/validation/PropertyValidatorRequiredTest.java +++ b/wicket-bean-validation/src/test/java/org/apache/wicket/bean/validation/PropertyValidatorRequiredTest.java @@ -79,7 +79,8 @@ public class PropertyValidatorRequiredTest public void testResolveComposedConstraints() throws Exception { Property property = new Property(DefaultPropertyResolverTest.BeanWithPassword.class, "password"); - PropertyValidator<DefaultPropertyResolverTest.BeanWithPassword> propertyValidator = new PropertyValidator<>(property); + PropertyValidator<DefaultPropertyResolverTest.BeanWithPassword> propertyValidator = + new PropertyValidator<DefaultPropertyResolverTest.BeanWithPassword>(property); assertTrue(propertyValidator.isRequired()); }