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

    https://github.com/apache/storm/pull/1957#discussion_r103069438
  
    --- Diff: 
external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/HdfsUtils.java 
---
    @@ -76,6 +76,51 @@ public static FSDataOutputStream 
tryCreateFile(FileSystem fs, Path file) throws
           }
         }
       }
    +  /**
    +   * list files sorted by modification time that have not been modified 
since
    +   * 'olderThan'. if 'olderThan' is <= 0 then the filtering is disabled
    +   *
    +   * @param fs
    +   *            - {@link FileSystem}
    +   * @param directory
    +   *            - Directory in which it will look for
    +   * @param olderThan
    +   *            - Files updated olderthan this time
    +   * @param ignoreSuffixes
    +   *            - List of ignoreSuffixes
    +   * @return - List file path satisfied by criteria
    +   * @throws IOException
    +   */
    +  public static ArrayList<Path> 
listFilesByModificationTimeWithIgnoreSuffixes(FileSystem fs, Path directory,
    +      long olderThan, List<String> ignoreSuffixes) throws IOException {
    +
    --- End diff --
    
    remove empty line.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to