private void cleanupPeninsulas(final OsmNode[] nodes) {
        baseID = lastVisitID++;
        for (final OsmNode n : nodes) { // loop over nodes again just for housekeeping
            if (n.firstlink != null && n.visitID == 1) {
                try {
                    minVisitIdInSubtree(null, n);
                } catch (StackOverflowError soe) {
                    // System.out.println( "+++++++++++++++ StackOverflowError ++++++++++++++++" );
                }
            }
        }
    }
Container for link between two Osm nodes

@author ab
main/src/main/java/cgeo/geocaching/brouter/mapaccess/OsmNodesMap.java