ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adorosz...@apache.org
Subject ambari git commit: AMBARI-20931. Wrong equality check in ValueAttributesInfo
Date Thu, 04 May 2017 21:08:27 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 7cc5e9e22 -> 4b48b80c0


AMBARI-20931. Wrong equality check in ValueAttributesInfo


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4b48b80c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4b48b80c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4b48b80c

Branch: refs/heads/trunk
Commit: 4b48b80c0aa47bf01dd885d08a9f3cb55d716ae9
Parents: 7cc5e9e
Author: Attila Doroszlai <adoroszlai@hortonworks.com>
Authored: Thu May 4 23:10:34 2017 +0200
Committer: Attila Doroszlai <adoroszlai@hortonworks.com>
Committed: Thu May 4 23:10:34 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/state/ValueAttributesInfo.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4b48b80c/ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
b/ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
index c41cd9a..40d32d6 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
@@ -306,7 +306,7 @@ public class ValueAttributesInfo {
       return false;
     if (overridable != null ? !overridable.equals(that.overridable) : that.overridable !=
null)
       return false;
-    if (hidden != null ? !hidden.equals(that.overridable) : that.hidden != null)
+    if (hidden != null ? !hidden.equals(that.hidden) : that.hidden != null)
       return false;
     if (showPropertyName != null ? !showPropertyName.equals(that.showPropertyName) : that.showPropertyName
!= null)
       return false;


Mime
View raw message