Commit b823084a by Sarath Subramanian

ATLAS-3405: Handling of references to non-existing entities in notifications #2…

ATLAS-3405: Handling of references to non-existing entities in notifications #2 update isEntityIncomplete()
parent 331fb430
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment