Changeset 11461 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2017-01-12T02:36:14+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/RelationDialogManager.java
r10345 r11461 150 150 if (relation == null) return false; 151 151 DialogContext context = new DialogContext(layer, relation); 152 return openDialogs.keySet().contains(context); 153 152 return openDialogs.containsKey(context); 154 153 } 155 154 -
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java
r11366 r11461 88 88 89 89 private void show(long id, HistoryBrowserDialog dialog) { 90 if (dialogs. values().contains(dialog)) {90 if (dialogs.containsValue(dialog)) { 91 91 show(id); 92 92 } else { … … 98 98 99 99 private void show(long id) { 100 if (dialogs. keySet().contains(id)) {100 if (dialogs.containsKey(id)) { 101 101 dialogs.get(id).toFront(); 102 102 }
Note:
See TracChangeset
for help on using the changeset viewer.