question: private void mergeNetworks ( Network tzone , Network sZone ) { List < String > addedEndPoints = new ArrayList < String > ( sZone . retrieveEndpoints ( ) ) ; StringSet newEndPoints = sZone . retrieveEndpoints ( ) ; for ( String endpoint : tzone . retrieveEndpoints ( ) ) { if ( newEndPoints . contains ( endpoint ) ) { addedEndPoints . remove ( endpoint ) ; } } if ( ! addedEndPoints . isEmpty ( ) ) { tzone . addEndpoints ( addedEndPoints , true ) ; } tzone . setNativeGuid ( sZone . getNativeGuid ( ) ) ; }
target:  Update one network with information from another