Github user zd-project commented on a diff in the pull request:

    https://github.com/apache/storm/pull/2754#discussion_r209296628
  
    --- Diff: 
storm-webapp/src/main/java/org/apache/storm/daemon/logviewer/utils/LogCleaner.java
 ---
    @@ -235,7 +258,7 @@ FileFilter mkFileFilterForLogCleanup(long nowMillis) {
         private long lastModifiedTimeWorkerLogdir(File logDir) {
             long dirModified = logDir.lastModified();
     
    -        DirectoryStream<Path> dirStream = null;
    +        DirectoryStream<Path> dirStream;
             try {
                 dirStream = directoryCleaner.getStreamForDirectory(logDir);
    --- End diff --
    
    Commented.


---

Reply via email to