void addNode(final Node node){
  int size=nodes.size();
  if ((size > 0) && (nodes.get(size - 1) == node)) {
    Log.i(DEBUG_TAG,"addNode attempt to add same node " + node.getOsmId() + " to "+ getOsmId());
    return;
  }
  nodes.add(node);
}

void addNode ( final Node node ) { int size = nodes . size ( ) ; if ( ( size > 0 ) && ( nodes . get ( size - 1 ) == node ) ) { Log . i ( DEBUG_TAG , "addNode attempt to add same node " + node . getOsmId ( ) + " to " + getOsmId ( ) ) ; return ; } nodes . add ( node ) ; }
add node at end of way
