Sonar code smell: Replace the type specification in this constructor call with the diamond operator ("<>")

This commit is contained in:
cagache
2019-07-01 16:01:43 +03:00
parent 26019f50ea
commit 6bc4ec03a6
258 changed files with 669 additions and 669 deletions

View File

@@ -74,8 +74,8 @@ public class RequestInfoAssignmentHandler implements TaskListener
}
// Define lists for candidate user(s)/group(s)
List<String> candidateUsers = new ArrayList<String>();
List<String> candidateGroups = new ArrayList<String>();
List<String> candidateUsers = new ArrayList<>();
List<String> candidateGroups = new ArrayList<>();
// Iterate through the list add user(s)/group(s) to the lists
for (ActivitiScriptNode activitiScriptNode : usersAndGroups)