storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptgo...@apache.org
Subject [1/3] storm git commit: STORM-2350: Storm-HDFS's listFilesByModificationTime is broken
Date Wed, 08 Feb 2017 21:31:00 GMT
Repository: storm
Updated Branches:
  refs/heads/master ec5c9627c -> 560ff86ee


STORM-2350: Storm-HDFS's listFilesByModificationTime is broken


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/6c805c65
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/6c805c65
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/6c805c65

Branch: refs/heads/master
Commit: 6c805c6562c3c98deb584cb1c9fb3435abd0692b
Parents: 2fb8299
Author: Tibor Kiss <tibor.kiss@gmail.com>
Authored: Tue Feb 7 06:11:32 2017 +0100
Committer: P. Taylor Goetz <ptgoetz@gmail.com>
Committed: Wed Feb 8 16:28:25 2017 -0500

----------------------------------------------------------------------
 .../java/org/apache/storm/hdfs/common/ModifTimeComparator.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/6c805c65/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/ModifTimeComparator.java
----------------------------------------------------------------------
diff --git a/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/ModifTimeComparator.java
b/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/ModifTimeComparator.java
index de5613e..0558b3f 100644
--- a/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/ModifTimeComparator.java
+++ b/external/storm-hdfs/src/main/java/org/apache/storm/hdfs/common/ModifTimeComparator.java
@@ -27,6 +27,6 @@ public class ModifTimeComparator
         implements Comparator<FileStatus> {
    @Override
     public int compare(FileStatus o1, FileStatus o2) {
-      return new Long(o1.getModificationTime()).compareTo( o1.getModificationTime() );
+      return new Long(o1.getModificationTime()).compareTo( o2.getModificationTime() );
     }
 }


Mime
View raw message