File tree Expand file tree Collapse file tree
src/main/java/graphql/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,20 +37,20 @@ public TraverserContext<T> peek() {
3737
3838 public abstract void pushAll (TraverserContext <T > o , Function <? super T , ? extends List <T >> getChildren );
3939
40- protected void addAll (Collection <? extends T > col ) {
40+ public void addAll (Collection <? extends T > col ) {
4141 assertNotNull (col ).stream ().map ((x ) -> newContext (x , null )).collect (Collectors .toCollection (() -> delegate ));
4242 }
4343
44- protected boolean isEmpty () {
44+ public boolean isEmpty () {
4545 return delegate .isEmpty ();
4646 }
4747
48- protected void clear () {
48+ public void clear () {
4949 delegate .clear ();
5050 visitedMap .clear ();
5151 }
5252
53- protected TraverserContext <T > newContext (final T o , final TraverserContext <T > parent ) {
53+ public TraverserContext <T > newContext (final T o , final TraverserContext <T > parent ) {
5454 return new TraverserContext <T >() {
5555 @ Override
5656 public T thisNode () {
@@ -91,7 +91,4 @@ protected Deque<TraverserContext<?>> getDelegate() {
9191 return delegate ;
9292 }
9393
94- protected Map <T , Object > getVisitedMap () {
95- return visitedMap ;
96- }
9794}
You can’t perform that action at this time.
0 commit comments