Changeset 11362 in josm for trunk


Ignore:
Timestamp:
2016-12-04T23:23:27+01:00 (3 years ago)
Author:
Don-vip
Message:

fix recent Java warnings

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

Legend:

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

    r11357 r11362  
    2323 */
    2424public class ChangePropertyKeyCommand extends Command {
    25     final class SinglePrimitivePseudoCommand implements PseudoCommand {
     25    static final class SinglePrimitivePseudoCommand implements PseudoCommand {
    2626        private final String name;
    2727        private final OsmPrimitive osm;
  • trunk/src/org/openstreetmap/josm/tools/Territories.java

    r11360 r11362  
    9494                        gp = new DefaultGeoProperty((Relation) osm);
    9595                    }
    96                     GeoPropertyIndex gpi = new GeoPropertyIndex(gp, 24);
     96                    GeoPropertyIndex<Boolean> gpi = new GeoPropertyIndex<>(gp, 24);
    9797                    if (iso1 != null) {
    9898                        iso3166Cache.put(iso1, gpi);
Note: See TracChangeset for help on using the changeset viewer.