Changeset 307 in josm for src


Ignore:
Timestamp:
2007-08-22T20:48:47+02:00 (17 years ago)
Author:
framm
Message:
  • cosmetic fix (use of Collections.singleton)
File:
1 edited

Legend:

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

    r298 r307  
    77import java.util.Arrays;
    88import java.util.Collection;
     9import java.util.Collections;
    910import java.util.Iterator;
    1011import java.util.LinkedList;
     
    6061       
    6162        public MoveCommand(OsmPrimitive osm, double x, double y) {
    62                 this(Arrays.asList(new OsmPrimitive[]{osm}), x, y);
     63                this(Collections.singleton(osm), x, y);
    6364        }
    6465        /**
Note: See TracChangeset for help on using the changeset viewer.