storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptgo...@apache.org
Subject [05/50] [abbrv] git commit: ISSUE-36: equals() should compare against input parameter
Date Thu, 20 Mar 2014 21:22:28 GMT
ISSUE-36: equals() should compare against input parameter


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

Branch: refs/heads/master
Commit: e7b4c09b6859e6b866d8b45b948c7d69b1cc0ceb
Parents: e57bf89
Author: Michael G. Noll <michael@michael-noll.com>
Authored: Tue Aug 27 21:12:51 2013 +0200
Committer: Michael G. Noll <michael@michael-noll.com>
Committed: Tue Aug 27 21:12:51 2013 +0200

----------------------------------------------------------------------
 src/jvm/storm/starter/tools/RankableObjectWithFields.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/e7b4c09b/src/jvm/storm/starter/tools/RankableObjectWithFields.java
----------------------------------------------------------------------
diff --git a/src/jvm/storm/starter/tools/RankableObjectWithFields.java b/src/jvm/storm/starter/tools/RankableObjectWithFields.java
index 43be75a..4d571f2 100644
--- a/src/jvm/storm/starter/tools/RankableObjectWithFields.java
+++ b/src/jvm/storm/starter/tools/RankableObjectWithFields.java
@@ -82,7 +82,7 @@ public class RankableObjectWithFields implements Rankable {
 
     @Override
     public boolean equals(Object o) {
-        if (this == obj) {
+        if (this == o) {
             return true;
         }
         if (!(o instanceof RankableObjectWithFields)) {


Mime
View raw message