private static void useCacheOrOnlineRepository(){
  if (REP_MIRROR == null) {
    establishMirror();
  }
  if (CACHE_URL != null) {
    PACKAGE_MANAGER.setPackageRepositoryURL(CACHE_URL);
  }
 else   if (REP_URL != null) {
    PACKAGE_MANAGER.setPackageRepositoryURL(REP_URL);
  }
}

private static void useCacheOrOnlineRepository ( ) { if ( REP_MIRROR == null ) { establishMirror ( ) ; } if ( CACHE_URL != null ) { PACKAGE_MANAGER . setPackageRepositoryURL ( CACHE_URL ) ; } else if ( REP_URL != null ) { PACKAGE_MANAGER . setPackageRepositoryURL ( REP_URL ) ; } }
determines whether to use the local cache or online repository for meta data
