Index: applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionLegEditorTest.java
===================================================================
--- applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionLegEditorTest.java	(revision 30557)
+++ applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionLegEditorTest.java	(revision 30737)
@@ -81,5 +81,5 @@
         PrimitiveIdListProvider provider = new PrimitiveIdListProvider() {          
             public List<PrimitiveId> getSelectedPrimitiveIds() {
-                List<PrimitiveId> ret = new ArrayList<PrimitiveId>();
+                List<PrimitiveId> ret = new ArrayList<>();
                 int [] sel = lstObjects.getSelectedIndices();
                 for (int i: sel){
Index: applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesViewTest.java
===================================================================
--- applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesViewTest.java	(revision 30557)
+++ applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesViewTest.java	(revision 30737)
@@ -50,5 +50,5 @@
         c.add(pane, gc);
         
-        List<Issue> issues = new ArrayList<Issue>();
+        List<Issue> issues = new ArrayList<>();
         issues.add(new RequiredTagMissingError(model, "type", "restriction"));
         issues.add(new MissingRestrictionTypeError(model));
