You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/05/08 14:03:02 UTC
[11/22] ambari git commit: AMBARI-20931. Wrong equality check in
ValueAttributesInfo
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/branch-feature-AMBARI-12556
Commit: 4b48b80c0aa47bf01dd885d08a9f3cb55d716ae9
Parents: 7cc5e9e
Author: Attila Doroszlai <ad...@hortonworks.com>
Authored: Thu May 4 23:10:34 2017 +0200
Committer: Attila Doroszlai <ad...@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;