void reverseWayNodeTags(List<Node> nodes){
  for (  Node n : nodes) {
    Map<String,String> nodeDirTags=Reverse.getDirectionDependentTags(n);
    if (nodeDirTags != null) {
      undo.save(n);
      Reverse.reverseDirectionDependentTags(n,nodeDirTags,true);
      n.updateState(OsmElement.STATE_MODIFIED);
      try {
        apiStorage.insertElementSafe(n);
      }
 catch (      StorageException e) {
        e.printStackTrace();
      }
    }
  }
}

void reverseWayNodeTags ( List < Node > nodes ) { for ( Node n : nodes ) { Map < String , String > nodeDirTags = Reverse . getDirectionDependentTags ( n ) ; if ( nodeDirTags != null ) { undo . save ( n ) ; Reverse . reverseDirectionDependentTags ( n , nodeDirTags , true ) ; n . updateState ( OsmElement . STATE_MODIFIED ) ; try { apiStorage . insertElementSafe ( n ) ; } catch ( StorageException e ) { e . printStackTrace ( ) ; } } } }
reverse any direction dependent tags on the way nodes
