Index: applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/FullGraphCreationTest.java
===================================================================
--- applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/FullGraphCreationTest.java	(revision 30560)
+++ applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/FullGraphCreationTest.java	(revision 30737)
@@ -35,5 +35,5 @@
     static {
         Map<VehiclePropertyType<?>, String> vehiclePropertyValues =
-            new HashMap<VehiclePropertyType<?>, String>();
+            new HashMap<>();
         vehiclePropertyValues.put(VehiclePropertyTypes.WIDTH, "3.0");
 
@@ -56,5 +56,5 @@
         }
         public java.util.List<Implication> getImplications() {
-            return new LinkedList<Implication>();
+            return new LinkedList<>();
         }
     };
@@ -162,8 +162,8 @@
     private TransitionStructure createTestTransitionStructure(TestDataSource dataSource) {
 
-        LinkedList<RoadPropertyType<?>> properties = new LinkedList<RoadPropertyType<?>>();
+        LinkedList<RoadPropertyType<?>> properties = new LinkedList<>();
         properties.add(new RoadWidth());
 
-        return new GenericTransitionStructure<TestNode, TestWay, TestRelation, TestRelationMember>(
+        return new GenericTransitionStructure<>(
                 ACCESS_PARAMS, TEST_RULESET, dataSource, properties);
     }
Index: applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/TestDataSource.java
===================================================================
--- applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/TestDataSource.java	(revision 30560)
+++ applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/TestDataSource.java	(revision 30737)
@@ -15,5 +15,5 @@
 
     public static class TestPrimitive {
-        public final Map<String, String> tags = new HashMap<String, String>();
+        public final Map<String, String> tags = new HashMap<>();
     };
 
@@ -35,5 +35,5 @@
 
     public static class TestWay extends TestPrimitive {
-        public final List<TestNode> nodes = new LinkedList<TestNode>();
+        public final List<TestNode> nodes = new LinkedList<>();
         @Override
         public String toString() {
@@ -43,5 +43,5 @@
 
     public static class TestRelation extends TestPrimitive {
-        public final Collection<TestRelationMember> members = new LinkedList<TestRelationMember>();
+        public final Collection<TestRelationMember> members = new LinkedList<>();
         @Override
         public String toString() {
@@ -70,7 +70,7 @@
 
 
-    public final Collection<TestNode> nodes = new LinkedList<TestNode>();
-    public final Collection<TestWay> ways = new LinkedList<TestWay>();
-    public final Collection<TestRelation> relations = new LinkedList<TestRelation>();
+    public final Collection<TestNode> nodes = new LinkedList<>();
+    public final Collection<TestWay> ways = new LinkedList<>();
+    public final Collection<TestRelation> relations = new LinkedList<>();
 
 
Index: applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/access/AccessRulesetReaderTest.java
===================================================================
--- applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/access/AccessRulesetReaderTest.java	(revision 30560)
+++ applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/access/AccessRulesetReaderTest.java	(revision 30737)
@@ -101,5 +101,5 @@
 
     private static TagGroup createTagGroup(Tag... tags) {
-        Map<String, String> tagMap = new HashMap<String, String>();
+        Map<String, String> tagMap = new HashMap<>();
         for (Tag tag : tags) {
             tagMap.put(tag.key, tag.value);
Index: applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/util/TagConditionLogicTest.java
===================================================================
--- applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/util/TagConditionLogicTest.java	(revision 30560)
+++ applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/util/TagConditionLogicTest.java	(revision 30737)
@@ -20,5 +20,5 @@
     @Before
     public void setUp() {
-        Map<String, String> mapA = new HashMap<String, String>();
+        Map<String, String> mapA = new HashMap<>();
         mapA.put("key1", "value1");
         mapA.put("key2", "value2");
@@ -26,5 +26,5 @@
         groupA = new MapBasedTagGroup(mapA);
 
-        Map<String, String> mapB = new HashMap<String, String>();
+        Map<String, String> mapB = new HashMap<>();
         mapB.put("key1", "value1");
         mapB.put("key4", "value4");
Index: applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/visualisation/FloatPropertyColorSchemeTest.java
===================================================================
--- applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/visualisation/FloatPropertyColorSchemeTest.java	(revision 30560)
+++ applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/visualisation/FloatPropertyColorSchemeTest.java	(revision 30737)
@@ -18,5 +18,5 @@
     public void setUp() {
 
-        Map<Float, Color> colorMap = new HashMap<Float, Color>();
+        Map<Float, Color> colorMap = new HashMap<>();
         colorMap.put( 5f, new Color( 42,  42,  42));
         colorMap.put(10f, new Color(100, 100, 100));
