From 2a7897bb4cb17e82c3669a8b073a577c7ca5f467 Mon Sep 17 00:00:00 2001 From: Terry Parker Date: Wed, 3 Aug 2016 08:36:55 -0700 Subject: [PATCH] RevWalk: Make fields available to DepthWalk DepthWalk needs to override toObjectWalkWithSameObjects() and thus needs to be able to directly set the objects and freeFlags fields, so make them package private. Change-Id: I24561b82c54ba3d6522582ca25105b204d777074 Signed-off-by: Terry Parker --- org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java index c8504937a7..a7f7cd4635 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java @@ -172,7 +172,7 @@ public class RevWalk implements Iterable, AutoCloseable { ObjectIdOwnerMap objects; - private int freeFlags = APP_FLAGS; + int freeFlags = APP_FLAGS; private int delayFreeFlags; -- 2.39.5