Changeset 34654 in osm for applications/editors/josm/plugins/mapdust
- Timestamp:
- 2018-09-15T14:14:38+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/MapdustGUI.java
r34528 r34654 513 513 this.bugDetailsObservers.iterator(); 514 514 while (elements.hasNext()) { 515 (elements.next()).showDetails(mapdustBug);515 elements.next().showDetails(mapdustBug); 516 516 } 517 517 } … … 526 526 this.initialUpdateObservers.iterator(); 527 527 while (elements.hasNext()) { 528 (elements.next()).update(filter, first);528 elements.next().update(filter, first); 529 529 } 530 530 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/action/execute/ExecuteAddBug.java
r34528 r34654 108 108 if (event != null) { 109 109 CreateBugDialog createDialog = (CreateBugDialog) getDialog(); 110 BugType type = (BugType) (createDialog).getCbbType().getSelectedItem();110 BugType type = (BugType) createDialog.getCbbType().getSelectedItem(); 111 111 String nickname = createDialog.getTxtNickname().getText(); 112 112 String commentText = createDialog.getTxtDescription().getText(); … … 205 205 Iterator<MapdustBugObserver> elements = this.bugObservers.iterator(); 206 206 while (elements.hasNext()) { 207 (elements.next()).changedData(mapdustBug);207 elements.next().changedData(mapdustBug); 208 208 } 209 209 } … … 243 243 this.actionObservers.iterator(); 244 244 while (elements.hasNext()) { 245 (elements.next()).addAction(mapdustAction);245 elements.next().addAction(mapdustAction); 246 246 } 247 247 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/action/execute/ExecuteCloseBug.java
r34528 r34654 228 228 Iterator<MapdustBugObserver> elements = this.bugObservers.iterator(); 229 229 while (elements.hasNext()) { 230 (elements.next()).changedData(mapdustBug);230 elements.next().changedData(mapdustBug); 231 231 } 232 232 } … … 240 240 this.actionObservers.iterator(); 241 241 while (elements.hasNext()) { 242 (elements.next()).addAction(mapdustAction);242 elements.next().addAction(mapdustAction); 243 243 } 244 244 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/action/execute/ExecuteCommentBug.java
r34528 r34654 233 233 Iterator<MapdustBugObserver> elements = this.bugObservers.iterator(); 234 234 while (elements.hasNext()) { 235 (elements.next()).changedData(mapdustBug);235 elements.next().changedData(mapdustBug); 236 236 } 237 237 } … … 245 245 this.actionObservers.iterator(); 246 246 while (elements.hasNext()) { 247 (elements.next()).addAction(mapdustAction);247 elements.next().addAction(mapdustAction); 248 248 } 249 249 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/action/execute/ExecuteInvalidateBug.java
r34528 r34654 240 240 Iterator<MapdustBugObserver> elements = this.bugObservers.iterator(); 241 241 while (elements.hasNext()) { 242 (elements.next()).changedData(mapdustBug);242 elements.next().changedData(mapdustBug); 243 243 } 244 244 } … … 252 252 this.actionObservers.iterator(); 253 253 while (elements.hasNext()) { 254 (elements.next()).addAction(mapdustAction);254 elements.next().addAction(mapdustAction); 255 255 } 256 256 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/action/execute/ExecuteReOpenBug.java
r34528 r34654 231 231 Iterator<MapdustBugObserver> elements = this.bugObservers.iterator(); 232 232 while (elements.hasNext()) { 233 (elements.next()).changedData(mapdustBug);233 elements.next().changedData(mapdustBug); 234 234 } 235 235 } … … 243 243 this.actionObservers.iterator(); 244 244 while (elements.hasNext()) { 245 (elements.next()).addAction(mapdustAction);245 elements.next().addAction(mapdustAction); 246 246 } 247 247 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/action/execute/ExecuteRefresh.java
r34528 r34654 110 110 Iterator<MapdustUpdateObserver> elements = this.observers.iterator(); 111 111 while (elements.hasNext()) { 112 (elements.next()).update(filter, false);112 elements.next().update(filter, false); 113 113 } 114 114 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/action/execute/MapdustExecuteActionObservable.java
r33027 r34654 70 70 Iterator<MapdustUpdateObserver> elements = this.observers.iterator(); 71 71 while (elements.hasNext()) { 72 (elements.next()).update(filter, false);72 elements.next().update(filter, false); 73 73 } 74 74 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/component/panel/MapdustBugDetailsPanel.java
r34528 r34654 205 205 } 206 206 if (bug.getRelevance().equals(MapdustRelevance.HIGH)) { 207 color = (Color.GREEN.darker()).darker();207 color = Color.GREEN.darker().darker(); 208 208 } 209 209 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/component/panel/MapdustBugListPanel.java
r34528 r34654 453 453 this.observers.iterator(); 454 454 while (elements.hasNext()) { 455 (elements.next()).showDetails(mapdustBug);455 elements.next().showDetails(mapdustBug); 456 456 } 457 457 } -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/gui/component/slider/RelevanceSliderUI.java
r32787 r34654 545 545 int trackLeft = getTrackRect().x; 546 546 int trackRight = getTrackRect().x + (getTrackRect().width - 1); 547 int hMin = xPositionForValue( (getSlider()).getLowerValue());547 int hMin = xPositionForValue(getSlider().getLowerValue()); 548 548 if (drawInverted()) { 549 549 trackRight = hMin; -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/service/value/MapdustBug.java
r30352 r34654 39 39 * 40 40 */ 41 public class MapdustBug { 41 public final class MapdustBug { 42 42 43 43 /** The id of the bug */ -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/service/value/MapdustRelevance.java
r30737 r34654 147 147 @Override 148 148 public boolean equals(Object obj) { 149 MapdustRelevance other = (MapdustRelevance) obj; 150 if (other == null) { 149 if (!(obj instanceof MapdustRelevance)) { 151 150 return false; 152 151 } 152 MapdustRelevance other = (MapdustRelevance) obj; 153 153 if (name == null || other.name == null) { 154 154 return false; -
applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/service/value/RelevanceRange.java
r32787 r34654 147 147 @Override 148 148 public boolean equals(Object obj) { 149 if (!(obj instanceof RelevanceRange)) { 150 return false; 151 } 149 152 RelevanceRange other = (RelevanceRange) obj; 150 153 if (lowerValue != other.lowerValue)
Note:
See TracChangeset
for help on using the changeset viewer.