]> source.dussan.org Git - jgit.git/commitdiff
RevWalk: Make fields available to DepthWalk 97/78397/5
authorTerry Parker <tparker@google.com>
Wed, 3 Aug 2016 15:36:55 +0000 (08:36 -0700)
committerTerry Parker <tparker@google.com>
Fri, 5 Aug 2016 00:20:27 +0000 (17:20 -0700)
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 <tparker@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java

index c8504937a7c60635f26c0c103b4d1d9b81736bf8..a7f7cd4635674b0ea437a293f74508fa84d1d322 100644 (file)
@@ -172,7 +172,7 @@ public class RevWalk implements Iterable<RevCommit>, AutoCloseable {
 
        ObjectIdOwnerMap<RevObject> objects;
 
-       private int freeFlags = APP_FLAGS;
+       int freeFlags = APP_FLAGS;
 
        private int delayFreeFlags;