public void addDefaultVersion(Version newDefault,boolean includeImplied){
  ArrayList<Version> newDefaults=new ArrayList<Version>(defaultVersions);
  if (includeImplied) {
    mergeVersions(newDefaults,newDefault.getImpliedVersions());
  }
 else {
    mergeVersions(newDefaults,newDefault);
  }
  defaultVersions=Collections.unmodifiableList(newDefaults);
}

public void addDefaultVersion ( Version newDefault , boolean includeImplied ) { ArrayList < Version > newDefaults = new ArrayList < Version > ( defaultVersions ) ; if ( includeImplied ) { mergeVersions ( newDefaults , newDefault . getImpliedVersions ( ) ) ; } else { mergeVersions ( newDefaults , newDefault ) ; } defaultVersions = Collections . unmodifiableList ( newDefaults ) ; }
adds a default version to the version registry . this will overwrite any existing default version for the same service .
