Ignore:
Timestamp:
2016-12-13T14:00:15+13:00 (7 years ago)
Author:
davidb
Message:

Code tidy up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/src/main/java/org/hathitrust/extractedfeatures/ClusterFileIO.java

    r31223 r31227  
    4545
    4646   
    47     public static FileSystem getFileSystemInstance(String input_file_or_dir)
     47    protected static FileSystem getFileSystemInstance(String input_file_or_dir)
    4848    {
    4949        FileSystem fs = null;
     
    7373        FileSystem fs = getFileSystemInstance(file);
    7474       
    75         //Configuration conf = jsc.hadoopConfiguration();
    76         //FileSystem fs = org.apache.hadoop.fs.FileSystem.get(conf);
    7775        boolean exists = false;
    7876       
     
    8179            exists = fs.exists(path);
    8280        } catch (IllegalArgumentException e) {
    83             e.printStackTrace();
    8481            exists = false;
    8582        } catch (IOException e) {
    86             e.printStackTrace();
    8783            exists = false;
    8884        }
Note: See TracChangeset for help on using the changeset viewer.