@ -54,7 +54,7 @@ import org.eclipse.jgit.internal.storage.reftable.Reftable;
* Tracks multiple open
* Tracks multiple open
* { @link org . eclipse . jgit . internal . storage . reftable . Reftable } instances .
* { @link org . eclipse . jgit . internal . storage . reftable . Reftable } instances .
* /
* /
public class ReftableStack implements AutoCloseable {
public class Dfs ReftableStack implements AutoCloseable {
/ * *
/ * *
* Opens a stack of tables for reading .
* Opens a stack of tables for reading .
*
*
@ -67,9 +67,9 @@ public class ReftableStack implements AutoCloseable {
* @throws java . io . IOException
* @throws java . io . IOException
* a table could not be opened
* a table could not be opened
* /
* /
public static ReftableStack open ( DfsReader ctx , List < DfsReftable > files )
public static Dfs ReftableStack open ( DfsReader ctx , List < DfsReftable > files )
throws IOException {
throws IOException {
ReftableStack stack = new ReftableStack ( files . size ( ) ) ;
Dfs ReftableStack stack = new Dfs ReftableStack( files . size ( ) ) ;
boolean close = true ;
boolean close = true ;
try {
try {
for ( DfsReftable t : files ) {
for ( DfsReftable t : files ) {
@ -88,7 +88,7 @@ public class ReftableStack implements AutoCloseable {
private final List < DfsReftable > files ;
private final List < DfsReftable > files ;
private final List < Reftable > tables ;
private final List < Reftable > tables ;
private ReftableStack ( int tableCnt ) {
private Dfs ReftableStack( int tableCnt ) {
this . files = new ArrayList < > ( tableCnt ) ;
this . files = new ArrayList < > ( tableCnt ) ;
this . tables = new ArrayList < > ( tableCnt ) ;
this . tables = new ArrayList < > ( tableCnt ) ;
}
}