src/main/java/de/blau/android/osm/StorageDelegator.java
/**
     * Reset this instance to empty state
     * 
     * This maintains the clipboard as the user may want to keep it over data relaoads etc
     * 
     * @param dirty if true mark the (empty) contents as dirty (this is useful because if true old state files will be
     *            overwritten)
     */
Reset this instance to empty state

This maintains the clipboard as the user may want to keep it over data relaoads etc

@param dirty if true mark the (empty) contents as dirty (this is useful because if true old state files will be
overwritten)
Reset this instance to empty state This maintains the clipboard as the user may want to keep it over data relaoads etc @param dirty if true mark the ( empty ) contents as dirty ( this is useful because if true old state files will be overwritten )
public void reset(boolean dirty) {
        this.dirty = dirty;
        apiStorage = new Storage();
        currentStorage = new Storage();
        undo = new UndoStorage(currentStorage, apiStorage);
        factory = new OsmElementFactory();
        imagery = new ArrayList<>();
    }
public void reset ( boolean dirty ) { this . dirty = dirty ; apiStorage = new Storage ( ) ; currentStorage = new Storage ( ) ; undo = new UndoStorage ( currentStorage , apiStorage ) ; factory = new OsmElementFactory ( ) ; imagery = new ArrayList < > ( ) ; }
Reset this instance to empty state
Reset this instance to empty state