Changeset 30737 in osm for applications/editors/josm/plugins/print/src/org
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintDialog.java
r30173 r30737 475 475 PrintService service = job.getPrintService(); 476 476 if (service != null) { 477 Collection<Collection<String>> serviceAttributes = new ArrayList< Collection<String>>();477 Collection<Collection<String>> serviceAttributes = new ArrayList<>(); 478 478 for (Attribute a : service.getAttributes().toArray()) { 479 479 if ("printer-name".equals(a.getName()) && a instanceof TextSyntax) { … … 486 486 // Save all request attributes 487 487 Collection<String> ignoredAttributes = Arrays.asList("media-printable-area"); 488 Collection<Collection<String>> requestAttributes = new ArrayList< Collection<String>>();488 Collection<Collection<String>> requestAttributes = new ArrayList<>(); 489 489 for (Attribute a : attrs.toArray()) { 490 490 Collection<String> setting = null; … … 507 507 508 508 protected Collection<String> marshallPrintSetting(Attribute a, Class<?> syntaxClass, String value) { 509 return new ArrayList< String>(Arrays.asList(a.getCategory().getName(), a.getClass().getName(), syntaxClass.getName(), value));509 return new ArrayList<>(Arrays.asList(a.getCategory().getName(), a.getClass().getName(), syntaxClass.getName(), value)); 510 510 } 511 511 -
applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintableMapView.java
r30409 r30737 412 412 @Override 413 413 protected List<Layer> getVisibleLayersInZOrder() { 414 ArrayList<Layer> layers = new ArrayList< Layer>();414 ArrayList<Layer> layers = new ArrayList<>(); 415 415 for (Layer l: mapView.getAllLayersAsList()) { 416 416 if (l.isVisible()) {
Note:
See TracChangeset
for help on using the changeset viewer.