Changeset 2990 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2010-02-15T09:03:57+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/APIDataSet.java
r2979 r2990 330 330 */ 331 331 private class RelationUploadDependencyGraph { 332 @SuppressWarnings("unused") 332 333 private final Logger logger = Logger.getLogger(RelationUploadDependencyGraph.class.getName()); 333 334 private HashMap<Relation, Set<Relation>> children; -
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r2891 r2990 8 8 import static java.lang.Math.sqrt; 9 9 import static java.lang.Math.toRadians; 10 import static org.openstreetmap.josm.tools.I18n.tr;11 10 import static org.openstreetmap.josm.tools.I18n.trc; 12 11 -
trunk/src/org/openstreetmap/josm/data/osm/ChangesetCache.java
r2986 r2990 35 35 */ 36 36 public class ChangesetCache implements PreferenceChangedListener{ 37 @SuppressWarnings("unused") 37 38 static private final Logger logger = Logger.getLogger(ChangesetCache.class.getName()); 38 39 -
trunk/src/org/openstreetmap/josm/data/osm/DataSetMerger.java
r2985 r2990 94 94 case WAY: candidates =targetDataSet.getWays(); break; 95 95 case RELATION: candidates = targetDataSet.getRelations(); break; 96 default: throw new AssertionError(); 96 97 } 97 98 for (OsmPrimitive target : candidates) { … … 127 128 case WAY: target = source.isNew() ? new Way() : new Way(source.getId()); break; 128 129 case RELATION: target = source.isNew() ? new Relation() : new Relation(source.getId()); break; 130 default: throw new AssertionError(); 129 131 } 130 132 target.mergeFrom(source); -
trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java
r2845 r2990 640 640 public TagCollection intersect(TagCollection other) { 641 641 if (other == null) { 642 new TagCollection();642 other = new TagCollection(); 643 643 } 644 644 TagCollection ret = new TagCollection(this); -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryRelation.java
r2845 r2990 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.data.osm.history; 3 4 import static org.openstreetmap.josm.tools.I18n.tr;5 3 6 4 import java.text.MessageFormat; -
trunk/src/org/openstreetmap/josm/data/projection/NTV2SubGrid.java
r2507 r2990 20 20 package org.openstreetmap.josm.data.projection; 21 21 22 import java.io.IOException; 22 23 import java.io.InputStream; 23 import java.io.IOException;24 24 import java.io.Serializable; 25 25 … … 34 34 */ 35 35 public class NTV2SubGrid implements Cloneable, Serializable { 36 37 private static final int REC_SIZE = 16;38 36 39 37 private String subGridName;
Note:
See TracChangeset
for help on using the changeset viewer.