src/main/java/de/blau/android/osm/StorageDelegator.java
/**
     * Create a new way with one node
     * 
     * @param firstWayNode the first node
     * @return the new way
     */
Create a new way with one node

@param firstWayNode the first node
@return the new way
Create a new way with one node @param firstWayNode the first node @return the new way
public Way createAndInsertWay(final Node firstWayNode) {
        dirty = true;
        Way way = factory.createWayWithNewId();
        way.addNode(firstWayNode);
        insertElementUnsafe(way);
        return way;
    }
public Way createAndInsertWay ( final Node firstWayNode ) { dirty = true ; Way way = factory . createWayWithNewId ( ) ; way . addNode ( firstWayNode ) ; insertElementUnsafe ( way ) ; return way ; }
Create a new way with one node
Create a new way with one node
// undo - nothing done here, way gets saved/marked on insert