Changeset 4707 in josm
- Timestamp:
- 2011-12-24T00:26:04+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r4310 r4707 110 110 tr("Way end node near other highway"), 111 111 UNCONNECTED_WAYS, 112 Arrays.asList(error.getKey(), error.getValue()))); 112 Arrays.asList(error.getKey(), error.getValue()), 113 Arrays.asList(error.getKey()))); 113 114 } 114 115 map.clear(); … … 128 129 tr("Way end node near other way"), 129 130 UNCONNECTED_WAYS, 130 Arrays.asList(error.getKey(), error.getValue()))); 131 Arrays.asList(error.getKey(), error.getValue()), 132 Arrays.asList(error.getKey()))); 131 133 } 132 134 /* the following two use a shorter distance */ … … 149 151 tr("Way node near other way"), 150 152 UNCONNECTED_WAYS, 151 Arrays.asList(error.getKey(), error.getValue()))); 153 Arrays.asList(error.getKey(), error.getValue()), 154 Arrays.asList(error.getKey()))); 152 155 } 153 156 map.clear(); … … 168 171 tr("Connected way end node near other way"), 169 172 UNCONNECTED_WAYS, 170 Arrays.asList(error.getKey(), error.getValue()))); 173 Arrays.asList(error.getKey(), error.getValue()), 174 Arrays.asList(error.getKey()))); 171 175 } 172 176 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r4672 r4707 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 6 7 import java.awt.GridLayout;8 7 import java.awt.event.ActionEvent; 9 8 import java.awt.event.ActionListener; … … 14 13 import java.lang.reflect.InvocationTargetException; 15 14 import java.util.ArrayList; 16 import java.util.Arrays;17 15 import java.util.Collection; 18 16 import java.util.Enumeration; … … 303 301 if (bbox.getBounds() == null) 304 302 return; 305 bbox.enlargeBoundingBox( );303 bbox.enlargeBoundingBox(Main.pref.getDouble("validator.zoom-enlarge-bbox", 0.0002)); 306 304 Main.map.mapView.recalculateCenterScale(bbox); 307 305 }
Note:
See TracChangeset
for help on using the changeset viewer.