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

    
https://github.com/apache/incubator-apex-malhar/pull/268#discussion_r63449900
  
    --- Diff: 
library/src/main/java/com/datatorrent/lib/io/fs/FileSplitterInput.java ---
    @@ -461,8 +465,11 @@ private void addToDiscoveredFiles(Path rootPath, 
FileStatus parentStatus, FileSt
           Path childPath = childStatus.getPath();
           String childPathStr = childPath.toUri().getPath();
           // Directory by now is scanned forcibly. Now check for whether 
file/directory needs to be added to discoveredFiles.
    -      Long oldModificationTime = 
lastModifiedTimesForInputDir.get(childPathStr);
    -      lastModifiedTimesForInputDir.put(childPathStr, 
childStatus.getModificationTime());
    +      Long oldModificationTime = null;
    +      if (lastModifiedTimesForInputDir != null) {
    +        oldModificationTime = 
lastModifiedTimesForInputDir.get(childPathStr);
    +      }
    +//      lastModifiedTimesForInputDir.put(childPathStr, 
childStatus.getModificationTime());
    --- End diff --
    
    please remove this comment.


---
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