Github user HanumathRao commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1238#discussion_r183576419
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FooterGatherer.java
 ---
    @@ -66,8 +69,8 @@ private static void checkMagicBytes(FileStatus status, 
byte[] data, int offset)
       }
     
       public static List<Footer> getFooters(final Configuration conf, 
List<FileStatus> statuses, int parallelism) throws IOException {
    -    final List<TimedRunnable<Footer>> readers = Lists.newArrayList();
    -    List<Footer> foundFooters = Lists.newArrayList();
    +    final List<TimedCallable<Footer>> readers = new ArrayList<>();
    +    final List<Footer> foundFooters = new ArrayList<>();
    --- End diff --
    
    Any specific reason to not use Lists.newArrayList?


---

Reply via email to