Changeset 9989 in josm for trunk/src/org
- Timestamp:
- 2016-03-14T01:49:27+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r9821 r9989 678 678 @Override 679 679 public void flush() { 680 // Do nothing 680 681 } 681 682 682 683 @Override 683 684 public void close() { 685 // Do nothing 684 686 } 685 687 }); … … 1264 1266 } 1265 1267 1266 private static class WindowPositionSizeListener extends WindowAdapter implements 1267 ComponentListener { 1268 private static class WindowPositionSizeListener extends WindowAdapter implements ComponentListener { 1268 1269 @Override 1269 1270 public void windowStateChanged(WindowEvent e) { … … 1273 1274 @Override 1274 1275 public void componentHidden(ComponentEvent e) { 1276 // Do nothing 1275 1277 } 1276 1278 … … 1287 1289 @Override 1288 1290 public void componentShown(ComponentEvent e) { 1291 // Do nothing 1289 1292 } 1290 1293 -
trunk/src/org/openstreetmap/josm/actions/UpdateModifiedAction.java
r7434 r9989 34 34 35 35 // FIXME: overrides the behaviour of UpdateSelectionAction. Doesn't update 36 // the enabled state based on the current selection because 37 // it doesn't depend on it. 36 // the enabled state based on the current selection because it doesn't depend on it. 38 37 // The action should be enabled/disabled based on whether there is a least 39 38 // one modified object in the current dataset. Unfortunately, there is no … … 51 50 @Override 52 51 protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) { 52 // Do nothing 53 53 } 54 54 -
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmChangeTask.java
r8510 r9989 212 212 @Override 213 213 public void historyDataSetCleared(HistoryDataSet source) { 214 // Do nothing 214 215 } 215 216 } -
trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
r9944 r9989 94 94 @Override 95 95 public void doKeyReleased(KeyEvent e) { 96 // Do nothing 96 97 } 97 98 } -
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r9623 r9989 350 350 @Override 351 351 public void doKeyPressed(KeyEvent e) { 352 // Do nothing 352 353 } 353 354 -
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r9970 r9989 667 667 @Override 668 668 public void doKeyReleased(KeyEvent e) { 669 // Do nothing 669 670 } 670 671 -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r9980 r9989 653 653 654 654 public static class SearchSetting { 655 public String text = "";656 public SearchMode mode = SearchMode.replace;655 public String text; 656 public SearchMode mode; 657 657 public boolean caseSensitive; 658 658 public boolean regexSearch; … … 664 664 */ 665 665 public SearchSetting() { 666 text = ""; 667 mode = SearchMode.replace; 666 668 } 667 669 -
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r9971 r9989 154 154 155 155 @Override 156 public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, 157 Collection<OsmPrimitive> added) {156 public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added) { 157 // Do nothing 158 158 } 159 159 -
trunk/src/org/openstreetmap/josm/command/PurgeCommand.java
r9371 r9989 276 276 @Override 277 277 public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added) { 278 // Do nothing 278 279 } 279 280 -
trunk/src/org/openstreetmap/josm/command/SelectCommand.java
r9371 r9989 33 33 @Override 34 34 public void fillModifiedData(Collection<OsmPrimitive> modified, Collection<OsmPrimitive> deleted, Collection<OsmPrimitive> added) { 35 // Do nothing 35 36 } 36 37 -
trunk/src/org/openstreetmap/josm/data/gpx/Extensions.java
r8308 r9989 3 3 4 4 import java.util.LinkedHashMap; 5 import java.util.Map;6 5 7 6 /** … … 12 11 private static final long serialVersionUID = 1L; 13 12 14 public Extensions(Map<? extends String, ? extends String> m) { 15 super(m); 16 } 17 13 /** 14 * Constructs a new {@code Extensions}. 15 */ 18 16 public Extensions() { 17 super(); 19 18 } 20 19 } -
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r9978 r9989 232 232 */ 233 233 public ImageryPreferenceEntry() { 234 // Do nothing 234 235 } 235 236 … … 296 297 valid_georeference = i.isGeoreferenceValid(); 297 298 supports_epsg_4326_to_3857_conversion = i.isEpsg4326To3857Supported(); 298 299 299 } 300 300 -
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r9979 r9989 319 319 @Override 320 320 public void updatePosition() { 321 // Do nothing 321 322 } 322 323 -
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r9933 r9989 344 344 @Override 345 345 public void activeLayerChange(Layer oldLayer, Layer newLayer) { 346 // Do nothing 346 347 } 347 348 348 349 @Override 349 350 public void layerAdded(Layer newLayer) { 351 // Do nothing 350 352 } 351 353 -
trunk/src/org/openstreetmap/josm/data/validation/Test.java
r9397 r9989 227 227 228 228 @Override 229 public void visit(Node n) {} 230 231 @Override 232 public void visit(Way w) {} 233 234 @Override 235 public void visit(Relation r) {} 229 public void visit(Node n) { 230 // To be overridden in subclasses 231 } 232 233 @Override 234 public void visit(Way w) { 235 // To be overridden in subclasses 236 } 237 238 @Override 239 public void visit(Relation r) { 240 // To be overridden in subclasses 241 } 236 242 237 243 /** -
trunk/src/org/openstreetmap/josm/data/validation/TestError.java
r8958 r9989 366 366 } 367 367 368 @Override public void primitivesAdded(PrimitivesAddedEvent event) {} 369 370 @Override public void tagsChanged(TagsChangedEvent event) {} 371 372 @Override public void nodeMoved(NodeMovedEvent event) {} 373 374 @Override public void wayNodesChanged(WayNodesChangedEvent event) {} 375 376 @Override public void relationMembersChanged(RelationMembersChangedEvent event) {} 377 378 @Override public void otherDatasetChange(AbstractDatasetChangedEvent event) {} 379 380 @Override public void dataChanged(DataChangedEvent event) {} 368 @Override public void primitivesAdded(PrimitivesAddedEvent event) { 369 // Do nothing 370 } 371 372 @Override public void tagsChanged(TagsChangedEvent event) { 373 // Do nothing 374 } 375 376 @Override public void nodeMoved(NodeMovedEvent event) { 377 // Do nothing 378 } 379 380 @Override public void wayNodesChanged(WayNodesChangedEvent event) { 381 // Do nothing 382 } 383 384 @Override public void relationMembersChanged(RelationMembersChangedEvent event) { 385 // Do nothing 386 } 387 388 @Override public void otherDatasetChange(AbstractDatasetChangedEvent event) { 389 // Do nothing 390 } 391 392 @Override public void dataChanged(DataChangedEvent event) { 393 // Do nothing 394 } 381 395 382 396 @Override
Note:
See TracChangeset
for help on using the changeset viewer.