From f58e21d4009c990b470e216bd39201393129779f Mon Sep 17 00:00:00 2001 From: David Radley Date: Wed, 4 May 2022 15:35:41 +0100 Subject: [PATCH] git6517 fix rex pretraversal Signed-off-by: David Radley --- .../viewservices/rex/handlers/RexViewHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open-metadata-implementation/view-services/rex-view/rex-view-server/src/main/java/org/odpi/openmetadata/viewservices/rex/handlers/RexViewHandler.java b/open-metadata-implementation/view-services/rex-view/rex-view-server/src/main/java/org/odpi/openmetadata/viewservices/rex/handlers/RexViewHandler.java index 39e4d6ba87d..a6184225713 100644 --- a/open-metadata-implementation/view-services/rex-view/rex-view-server/src/main/java/org/odpi/openmetadata/viewservices/rex/handlers/RexViewHandler.java +++ b/open-metadata-implementation/view-services/rex-view/rex-view-server/src/main/java/org/odpi/openmetadata/viewservices/rex/handlers/RexViewHandler.java @@ -979,7 +979,7 @@ public RexPreTraversal preTraversal(String userId, boolean enterpriseOption, String entityGUID, int depth, - Long asOfTime, + long asOfTime, String methodName) throws RexViewServiceException @@ -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,