Skip to content

Commit

Permalink
Fix compilation issues with id generator in test after forward merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaDemianenko committed Sep 11, 2017
1 parent 1fbf349 commit 8024bed
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -763,15 +763,15 @@ private class TerminationIdGeneratorFactory implements IdGeneratorFactory
}

@Override
public IdGenerator open( File filename, IdType idType, long highId, long maxId )
public IdGenerator open( File filename, IdType idType, Supplier<Long> highIdSupplier, long maxId )
{
return delegate.open( filename, idType, highId, maxId );
return delegate.open( filename, idType, highIdSupplier, maxId );
}

@Override
public IdGenerator open( File filename, int grabSize, IdType idType, long highId, long maxId )
public IdGenerator open( File filename, int grabSize, IdType idType, Supplier<Long> highIdSupplier, long maxId )
{
return new TerminationIdGenerator( delegate.open( filename, grabSize, idType, highId, maxId ) );
return new TerminationIdGenerator( delegate.open( filename, grabSize, idType, highIdSupplier, maxId ) );
}

@Override
Expand Down

0 comments on commit 8024bed

Please sign in to comment.