public ImportFolderValidation validate(final String path){
  Check.notNull(path,"path");
  if (validationCache == null) {
    validationCache=new HashMap();
  }
 else {
    if (validationCache.containsKey(path)) {
      return (ImportFolderValidation)validationCache.get(path);
    }
  }
  final ImportFolderValidation validation=computeValidation(path);
  validationCache.put(path,validation);
  return validation;
}

public ImportFolderValidation validate ( final String path ) { Check . notNull ( path , "path" ) ; if ( validationCache == null ) { validationCache = new HashMap ( ) ; } else { if ( validationCache . containsKey ( path ) ) { return ( ImportFolderValidation ) validationCache . get ( path ) ; } } final ImportFolderValidation validation = computeValidation ( path ) ; validationCache . put ( path , validation ) ; return validation ; }
validate a potential path for import
