Changeset 17458 in josm for trunk/src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java
- Timestamp:
- 2021-01-13T15:26:08+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java
r15476 r17458 16 16 import org.openstreetmap.josm.io.NetworkManager; 17 17 import org.openstreetmap.josm.io.OnlineResource; 18 import org.openstreetmap.josm.tools.Destroyable; 18 19 import org.openstreetmap.josm.tools.SubclassFilteredCollection; 19 20 import org.openstreetmap.josm.tools.Utils; … … 25 26 * @since 13957 (signature) 26 27 */ 27 public abstract class AbstractRelationAction extends AbstractAction implements IPrimitiveAction {28 public abstract class AbstractRelationAction extends AbstractAction implements IPrimitiveAction, Destroyable { 28 29 /** relation collection */ 29 30 protected transient Collection<IRelation<?>> relations = Collections.<IRelation<?>>emptySet(); … … 72 73 putValue("help", helpId); 73 74 } 75 76 @Override 77 public void destroy() { 78 relations = null; 79 } 74 80 }
Note:
See TracChangeset
for help on using the changeset viewer.