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:26:38 GMT
Repository: storm
Updated Branches:
  refs/heads/1.0.x-branch d4468cb6f -> cc8b5f88b


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/de70903d
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/de70903d
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/de70903d

Branch: refs/heads/1.0.x-branch
Commit: de70903dde47756e81859f6fe0a1b2e5190b9b1b
Parents: a4e20fa
Author: Tibor Kiss <tibor.kiss@gmail.com>
Authored: Tue Feb 7 06:11:32 2017 +0100
Committer: Tibor Kiss <tibor.kiss@gmail.com>
Committed: Tue Feb 7 06:11:32 2017 +0100

----------------------------------------------------------------------
 .../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/de70903d/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