{
if ( storeFormatVersion == null )
{
throw new IllegalArgumentException( "store format version cannot be null" );
}
<BUG>return new SortedKeyValueStoreHeader( UTF8.encode( storeFormatVersion ), 0, BASE_TX_ID, BASE_MINOR_VERSION );
</BUG>
}
private static final int META_HEADER_SIZE =
2 /*headerRecords*/ + 2 /*versionLen*/ + 4 /*dataRecords*/ + 8 /*lastTxId*/ + 8 /*minorVersion*/;

{
public static final long BASE_MINOR_VERSION = 1l;
public static SortedKeyValueStoreHeader with( String storeFormatVersion, long lastTxId, long minorVersion )
{
if ( storeFormatVersion == null )
{
throw new IllegalArgumentException( "store format version cannot be null" );
}
return new SortedKeyValueStoreHeader( UTF8.encode( storeFormatVersion ), 0, lastTxId, minorVersion );
}
private static final int META_HEADER_SIZE =
2 /*headerRecords*/ + 2 /*versionLen*/ + 4 /*dataRecords*/ + 8 /*lastTxId*/ + 8 /*minorVersion*/;
