public boolean isKnownRepository(String location,boolean requireExactMatch){
  Set<String> keys=repositories.keySet();
  for (  String checkLocation : keys) {
    if (!requireExactMatch && location.indexOf(checkLocation) != -1) {
      return true;
    }
    if (location.equals(checkLocation))     return true;
  }
  return false;
}

public boolean isKnownRepository ( String location , boolean requireExactMatch ) { Set < String > keys = repositories . keySet ( ) ; for ( String checkLocation : keys ) { if ( ! requireExactMatch && location . indexOf ( checkLocation ) != - 1 ) { return true ; } if ( location . equals ( checkLocation ) ) return true ; } return false ; }
answer whether the provided repository location is known by the provider or not . the location string corresponds to the strin returned by isvnrepositorylocation # getlocation ( )
