mreutegg commented on code in PR #2393: URL: https://github.com/apache/jackrabbit-oak/pull/2393#discussion_r2239941466
########## oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/tar/TarReader.java: ########## @@ -602,22 +566,12 @@ public void close() throws IOException { } /** - * Loads and parses the optional pre-compiled graph entry from the given tar - * file. + * Loads and parses the optional pre-compiled graph entry from the given tar file. * * @return The parsed graph, or {@code null} if one was not found. */ - Map<UUID, List<UUID>> getGraph() throws IOException { - Buffer buffer = archive.getGraph(); - if (buffer == null) { - return null; - } else { - return GraphLoader.parseGraph(buffer); - } - } - - private boolean hasGraph() { - return archive.hasGraph(); + @NotNull SegmentGraph getGraph() throws IOException { Review Comment: JavaDoc for the return value needs an update. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org