Changeset 30924 for other-projects


Ignore:
Timestamp:
2016-10-25T23:49:13+13:00 (7 years ago)
Author:
davidb
Message:

Tidy up of code. Removed commented out code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/solr-extracted-features/trunk/src/main/java/org/hathitrust/PagedJSON.java

    r30921 r30924  
    33import java.io.BufferedInputStream;
    44import java.io.BufferedReader;
    5 import java.io.FileInputStream;
    6 import java.io.FileNotFoundException;
     5//import java.io.FileInputStream;
     6//import java.io.FileNotFoundException;
    77import java.io.IOException;
    88import java.io.InputStreamReader;
    9 import java.io.UnsupportedEncodingException;
     9//import java.io.UnsupportedEncodingException;
    1010import java.net.URI;
    11 import java.nio.charset.StandardCharsets;
     11//import java.nio.charset.StandardCharsets;
    1212//import java.nio.file.Files;
    1313//import java.nio.file.Path;
    1414//import java.nio.file.Paths;
    1515import java.util.ArrayList;
    16 import java.util.Arrays;
     16//import java.util.Arrays;
    1717import java.util.Iterator;
    18 import java.util.List;
     18//import java.util.List;
    1919
    2020import org.apache.commons.compress.compressors.CompressorException;
     
    3838 */
    3939
    40 
    41 /*
    42 URI uri = URI.create ("hdfs://host:port/file path");
    43 Configuration conf = new Configuration();
    44 FileSystem file = FileSystem.get(uri, conf);
    45 FSDataInputStream in = file.open(new Path(uri));
    46 
    47 */
    4840
    4941class PagedJSON implements FlatMapFunction<String, String>
Note: See TracChangeset for help on using the changeset viewer.