public boolean changeExternalReference(String oldUrl, String newUrl) {for (ExternalBookBlock ex : _externalBookBlocks) {SupBookRecord externalRecord = ex.getExternalBookRecord();if (externalRecord.isExternalReferences()&& externalRecord.getURL().equals(oldUrl)) {externalRecord.setURL(newUrl);return true;}}return false;}

public boolean changeExternalReference ( String oldUrl , String newUrl ) { for ( ExternalBookBlock ex : _externalBookBlocks ) { SupBookRecord externalRecord = ex . getExternalBookRecord ( ) ; if ( externalRecord . isExternalReferences ( ) && externalRecord . getURL ( ) . equals ( oldUrl ) ) { externalRecord . setURL ( newUrl ) ; return true ; } } return false ; }
public bool ChangeExternalReference(String oldUrl, String newUrl){foreach (ExternalBookBlock ex in _externalBookBlocks){SupBookRecord externalRecord = ex.GetExternalBookRecord();if (externalRecord.IsExternalReferences&& externalRecord.URL.Equals(oldUrl)){externalRecord.URL = (newUrl);return true;}}return false;}
