- Timestamp:
- 2010-02-19T21:43:42+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTaskList.java
r2578 r3025 87 87 progressMonitor.beginTask(tr("Updating data")); 88 88 try { 89 List<Rectangle2D> rects = new LinkedList<Rectangle2D>();89 List<Rectangle2D> rects = new ArrayList<Rectangle2D>(areas.size()); 90 90 for (Area a : areas) { 91 91 rects.add(a.getBounds2D()); -
trunk/src/org/openstreetmap/josm/data/osm/DatasetConsistencyTest.java
r2958 r3025 124 124 public void checkZeroNodesWays() { 125 125 for (Way way:dataSet.getWays()) { 126 if (way.isUsable() && way. getNodesCount() == 0) {126 if (way.isUsable() && way.isVisible() && way.getNodesCount() == 0) { 127 127 printError("WARN - ZERO NODES", "Way %s has zero nodes", way); 128 128 } else if (way.isUsable() && way.getNodesCount() == 1) { -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r3004 r3025 873 873 */ 874 874 public boolean hasSameTags(OsmPrimitive other) { 875 return keySet().equals(other.keySet());875 return getKeys().equals(other.getKeys()); 876 876 } 877 877 -
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r2982 r3025 17 17 public final class Relation extends OsmPrimitive { 18 18 19 /**20 * All members of this relation. Note that after changing this,21 * makeBackReferences and/or removeBackReferences should be called.22 *23 */24 19 private final List<RelationMember> members = new ArrayList<RelationMember>(); 25 20 -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java
r2983 r3025 79 79 protected EntriesSelectionModel mergedEntriesSelectionModel; 80 80 81 private final ArrayList<PropertyChangeListener> listeners;81 private final List<PropertyChangeListener> listeners; 82 82 private boolean isFrozen = false; 83 83 private final ComparePairListModel comparePairListModel; … … 340 340 341 341 private void copy(ListRole sourceRole, int[] rows, int position) { 342 if (position < 0 || position > getMergedEntriesSize()) 343 throw new IllegalArgumentException(); 342 344 List<T> newItems = new ArrayList<T>(rows.length); 343 345 List<T> source = entries.get(sourceRole);
Note:
See TracChangeset
for help on using the changeset viewer.