src/main/java/de/blau/android/osm/StorageDelegator.java
/**
     * Unjoin all ways connected at the given node.
     * 
     * @param node The node connecting ways that are to be unjoined.
     */
Unjoin all ways connected at the given node.

@param node The node connecting ways that are to be unjoined.
Unjoin all ways connected at the given node . @param node The node connecting ways that are to be unjoined .
public void unjoinWays(@NonNull final Node node) {
        List<Way> ways = currentStorage.getWays(node);
        try {
            if (ways.size() > 1) {
                boolean first = true;
                for (Way way : ways) {
                    if (first) {
                        first = false;
                    } else {
                        replaceWayNode(node, way);
                    }
                }
            }
        } catch (StorageException e) {
            Log.e(DEBUG_TAG, "unjoinWays got " + e.getMessage());
        }
    }
public void unjoinWays ( @ NonNull final Node node ) { List < Way > ways = currentStorage . getWays ( node ) ; try { if ( ways . size ( ) > 1 ) { boolean first = true ; for ( Way way : ways ) { if ( first ) { first = false ; } else { replaceWayNode ( node , way ) ; } } } } catch ( StorageException e ) { Log . e ( DEBUG_TAG , "unjoinWays got " + e . getMessage ( ) ) ; } }
Unjoin all ways connected at the given node.
Unjoin all ways connected at the given node .
// first way doesn't need to be changed // subsequent ways // TODO handle OOM