Skip to content

Commit

Permalink
return from preloaded properties or return empty
Browse files Browse the repository at this point in the history
  • Loading branch information
sriram-atlan committed Nov 28, 2024
1 parent 594f6c0 commit 937c62e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1987,8 +1987,7 @@ public Object getVertexAttributePreFetchCache(AtlasVertex vertex, AtlasAttribute
if (properties.get(attribute) != null) {
return properties.get(attribute);
}

return vertex != null && attribute != null ? mapVertexToAttribute(vertex, attribute, null, false) : null;
return null;
}

private Object getVertexAttributeIgnoreInactive(AtlasVertex vertex, AtlasAttribute attribute) throws AtlasBaseException {
Expand Down

0 comments on commit 937c62e

Please sign in to comment.