Remove redundant specification of type arguments Change-Id: I294af47da03ad2f5d724cc5cc2992745c835a84f
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddCommentTest.java b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddCommentTest.java index 912f4d1..3039b12 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddCommentTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddCommentTest.java
@@ -37,7 +37,7 @@ replayMocks(); AddComment addComment = createAddComment(); - addComment.execute("4711", actionRequest, new HashSet<Property>()); + addComment.execute("4711", actionRequest, new HashSet<>()); } public void testPlain() throws IOException { @@ -49,7 +49,7 @@ replayMocks(); AddComment addComment = createAddComment(); - addComment.execute("4711", actionRequest, new HashSet<Property>()); + addComment.execute("4711", actionRequest, new HashSet<>()); } private AddComment createAddComment() {
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddVelocityCommentTest.java b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddVelocityCommentTest.java index a8ca659..61042a4 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddVelocityCommentTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/AddVelocityCommentTest.java
@@ -61,7 +61,7 @@ replayMocks(); AddVelocityComment addVelocityComment = createAddVelocityComment(); - addVelocityComment.execute("4711", actionRequest, new HashSet<Property>()); + addVelocityComment.execute("4711", actionRequest, new HashSet<>()); assertLogMessageContains("No template name"); } @@ -85,7 +85,7 @@ replayMocks(); AddVelocityComment addVelocityComment = createAddVelocityComment(); - addVelocityComment.execute("4711", actionRequest, new HashSet<Property>()); + addVelocityComment.execute("4711", actionRequest, new HashSet<>()); } public void testInlineWithMultipleParameters() throws IOException { @@ -238,7 +238,7 @@ replayMocks(); AddVelocityComment addVelocityComment = createAddVelocityComment(); - addVelocityComment.execute("4711", actionRequest, new HashSet<Property>()); + addVelocityComment.execute("4711", actionRequest, new HashSet<>()); VelocityContext context = contextCapture.getValue(); Object itsAdapterObj = context.get("its"); @@ -275,7 +275,7 @@ replayMocks(); AddVelocityComment addVelocityComment = createAddVelocityComment(); - addVelocityComment.execute("4711", actionRequest, new HashSet<Property>()); + addVelocityComment.execute("4711", actionRequest, new HashSet<>()); VelocityContext context = contextCapture.getValue(); Object itsAdapterObj = context.get("its"); @@ -295,7 +295,7 @@ replayMocks(); AddVelocityComment addVelocityComment = createAddVelocityComment(); - addVelocityComment.execute("4711", actionRequest, new HashSet<Property>()); + addVelocityComment.execute("4711", actionRequest, new HashSet<>()); assertLogMessageContains("non-existing-template"); } @@ -320,7 +320,7 @@ replayMocks(); AddVelocityComment addVelocityComment = createAddVelocityComment(); - addVelocityComment.execute("4711", actionRequest, new HashSet<Property>()); + addVelocityComment.execute("4711", actionRequest, new HashSet<>()); } public void testTemplateMultipleParametersAndProperties() throws IOException {
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/LogEventTest.java b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/LogEventTest.java index 22a4288..99fa2c3 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/LogEventTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/its/base/workflow/action/LogEventTest.java
@@ -37,7 +37,7 @@ replayMocks(); LogEvent logEvent = createLogEvent(); - logEvent.execute("4711", actionRequest, new HashSet<Property>()); + logEvent.execute("4711", actionRequest, new HashSet<>()); } public void testLevelDefault() throws IOException {