Index: applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
===================================================================
--- applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java	(revision 30197)
+++ applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java	(revision 30737)
@@ -80,5 +80,5 @@
 
                 // Write nodes, make list of ways and relations
-                Set<OsmPrimitive> parents = new HashSet<OsmPrimitive>();
+                Set<OsmPrimitive> parents = new HashSet<>();
                 for (Node n : ds.getNodes()) {
                     if (n.isUsable() && n.getCoor() != null && n.getCoor().isWithin(b)) {
@@ -89,5 +89,5 @@
 
                 // I'm not sure why (if) is this usefull
-                for (OsmPrimitive p : new HashSet<OsmPrimitive>(parents)) {
+                for (OsmPrimitive p : new HashSet<>(parents)) {
                     if (p instanceof Way) {
                         for (Node n : ((Way) p).getNodes()) {
