Ignore:
Timestamp:
2015-09-21T23:48:29+02:00 (8 years ago)
Author:
Don-vip
Message:

Basic Java 9 support: make code compile, and Linux scripts detect it

Location:
trunk/src/org/openstreetmap/josm/command
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/ChangePropertyKeyCommand.java

    r8510 r8777  
    2525     * All primitives, that are affected with this command.
    2626     */
    27     private final List<OsmPrimitive> objects;
     27    private final List<? extends OsmPrimitive> objects;
    2828    /**
    2929     * The key that is subject to change.
  • trunk/src/org/openstreetmap/josm/command/DeleteCommand.java

    r8540 r8777  
    369369            return null;
    370370
    371         Set<OsmPrimitive> primitivesToDelete = new HashSet<>(selection);
     371        Set<OsmPrimitive> primitivesToDelete = new HashSet<OsmPrimitive>(selection);
    372372
    373373        Collection<Relation> relationsToDelete = Utils.filteredCollection(primitivesToDelete, Relation.class);
Note: See TracChangeset for help on using the changeset viewer.