Skip to content

Commit

Permalink
Merge pull request #6521 from davidradl/38fix
Browse files Browse the repository at this point in the history
#6517 fix rex pretraversal
  • Loading branch information
davidradl authored May 6, 2022
2 parents b2ed0a0 + f58e21d commit 30e999e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ public RexPreTraversal preTraversal(String userId,
boolean enterpriseOption,
String entityGUID,
int depth,
Long asOfTime,
long asOfTime,
String methodName)
throws
RexViewServiceException
Expand Down Expand Up @@ -1021,7 +1021,7 @@ public RexPreTraversal preTraversal(String userId,
if (depth > 0)
{
Date asOfTimeDate = null;
if (asOfTime !=null) {
if (asOfTime != 0) {
asOfTimeDate = new Date(asOfTime);
}
instGraph = repositoryServicesClient.getEntityNeighborhood(userId,
Expand Down

0 comments on commit 30e999e

Please sign in to comment.