You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2019/09/09 17:37:24 UTC
[atlas] branch master updated: ATLAS-3405: Handling of references
to non-existing entities in notifications #2 update isEntityIncomplete()
This is an automated email from the ASF dual-hosted git repository.
sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new b823084 ATLAS-3405: Handling of references to non-existing entities in notifications #2 update isEntityIncomplete()
b823084 is described below
commit b823084aadd870f8f14df8f01838fac8347e72bb
Author: Sarath Subramanian <sa...@apache.org>
AuthorDate: Mon Sep 9 10:33:57 2019 -0700
ATLAS-3405: Handling of references to non-existing entities in notifications #2 update isEntityIncomplete()
---
.../src/main/java/org/apache/atlas/repository/graph/GraphHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java b/repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java
index ebf5498..3cc91a5 100755
--- a/repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java
+++ b/repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java
@@ -1060,7 +1060,7 @@ public final class GraphHelper {
public static Boolean isEntityIncomplete(AtlasElement element) {
Integer value = element.getProperty(Constants.IS_INCOMPLETE_PROPERTY_KEY, Integer.class);
- Boolean ret = (value != null && value == INCOMPLETE_ENTITY_VALUE) ? Boolean.TRUE : Boolean.FALSE;
+ Boolean ret = value != null && value.equals(INCOMPLETE_ENTITY_VALUE) ? Boolean.TRUE : Boolean.FALSE;
return ret;
}