Changeset 14547 in josm
- Timestamp:
- 2018-12-10T15:34:13+01:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/changeset
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java
r14546 r14547 65 65 import org.openstreetmap.josm.io.NetworkManager; 66 66 import org.openstreetmap.josm.io.OnlineResource; 67 import org.openstreetmap.josm.tools.Destroyable;68 67 import org.openstreetmap.josm.tools.ImageProvider; 69 68 import org.openstreetmap.josm.tools.InputMapUtils; … … 105 104 instance.setVisible(true); 106 105 instance.dispose(); 107 for (Component c : instance.pnlChangesetDetailTabs.getComponents()) {108 if (c instanceof Destroyable) {109 ((Destroyable) c).destroy();110 }111 }112 106 instance = null; 113 107 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetDetailPanel.java
r14546 r14547 46 46 import org.openstreetmap.josm.io.NetworkManager; 47 47 import org.openstreetmap.josm.io.OnlineResource; 48 import org.openstreetmap.josm.tools.Destroyable;49 48 import org.openstreetmap.josm.tools.ImageProvider; 50 49 import org.openstreetmap.josm.tools.Utils; … … 56 55 * @since 2689 57 56 */ 58 public class ChangesetDetailPanel extends JPanel implements PropertyChangeListener, ChangesetAware , Destroyable{57 public class ChangesetDetailPanel extends JPanel implements PropertyChangeListener, ChangesetAware { 59 58 60 59 // CHECKSTYLE.OFF: SingleSpaceSeparator … … 478 477 return currentChangeset; 479 478 } 480 481 @Override482 public void destroy() {483 MainApplication.getLayerManager().removeActiveLayerChangeListener(actSelectInCurrentLayer);484 MainApplication.getLayerManager().removeActiveLayerChangeListener(actZoomInCurrentLayerAction);485 }486 479 }
Note:
See TracChangeset
for help on using the changeset viewer.