You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2014/03/20 22:22:28 UTC
[05/50] [abbrv] git commit: ISSUE-36: equals() should compare against
input parameter
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 <mi...@michael-noll.com>
Authored: Tue Aug 27 21:12:51 2013 +0200
Committer: Michael G. Noll <mi...@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)) {