Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java	(revision 30547)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java	(revision 30737)
@@ -100,5 +100,5 @@
             // Create plugin buttons and add them to the toolbar
 
-            buttonList = new ArrayList<IconToggleButton>(7);
+            buttonList = new ArrayList<>(7);
             buttonList.add(picLayerActionButtonFactory(movePictureAction));
             buttonList.add(picLayerActionButtonFactory(movePointAction));
Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/actions/newlayer/NewLayerFromFileAction.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/actions/newlayer/NewLayerFromFileAction.java	(revision 30547)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/actions/newlayer/NewLayerFromFileAction.java	(revision 30737)
@@ -60,5 +60,5 @@
 
         public ImageFileFilter() {
-            List<String> extensions = new ArrayList<String>();
+            List<String> extensions = new ArrayList<>();
             extensions.add("zip");
             extensions.add("kml");
Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/layer/kml/KMLReader.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/layer/kml/KMLReader.java	(revision 30547)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/layer/kml/KMLReader.java	(revision 30737)
@@ -52,5 +52,5 @@
 
     public KMLHandler() {
-        result = new ArrayList<KMLGroundOverlay>();
+        result = new ArrayList<>();
     }
 
Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/transform/PictureTransform.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/transform/PictureTransform.java	(revision 30547)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/transform/PictureTransform.java	(revision 30737)
@@ -27,5 +27,5 @@
     public PictureTransform() {
         cachedTransform = new AffineTransform();
-        originPoints = new ArrayList<Point2D>(3);
+        originPoints = new ArrayList<>(3);
     }
 
@@ -73,5 +73,5 @@
         case 2: {
             // find triangle and move it
-            List<Point2D> desiredPoints = new ArrayList<Point2D>(3);
+            List<Point2D> desiredPoints = new ArrayList<>(3);
             Point2D o1 = originPoints.get(0);
             Point2D o2 = originPoints.get(1);
@@ -93,5 +93,5 @@
         }
         case 3: {
-            List<Point2D> desiredPoints = new ArrayList<Point2D>(3);
+            List<Point2D> desiredPoints = new ArrayList<>(3);
 
             for (Point2D origin : originPoints) {
@@ -185,5 +185,5 @@
 
     public void setOriginPoints(List<Point2D> list) {
-        this.originPoints = new ArrayList<Point2D>(list);
+        this.originPoints = new ArrayList<>(list);
     }
 
