Skip to content

Commit

Permalink
Remove dead code, and other cleanups
Browse files Browse the repository at this point in the history
Of note: The override of fillStackTrace in ReadPastEndException has been removed, because it's only initialised once, and its presence makes Class Hierarchy Analysis nervous about inlining it.
  • Loading branch information
chrisvest committed May 4, 2015
1 parent 9135428 commit 8926a6b
Show file tree
Hide file tree
Showing 37 changed files with 38 additions and 1,644 deletions.
Expand Up @@ -734,7 +734,8 @@ indexingService, alwaysCreateNewWriter( labelScanStore ), neoStore,
config.get( GraphDatabaseSettings.logical_log_rotation_threshold ), neoStore,
neoStore, physicalLogMonitor, transactionMetadataCache );

final PhysicalLogFileInformation.SPI logInformation = new PhysicalLogFileInformation.SPI()
final PhysicalLogFileInformation.LogVersionToTimestamp
logInformation = new PhysicalLogFileInformation.LogVersionToTimestamp()
{
@Override
public long getTimestampForVersion( long version ) throws IOException
Expand Down

This file was deleted.

Expand Up @@ -21,23 +21,8 @@

public class IllegalResourceException extends RuntimeException
{
public IllegalResourceException()
{
super();
}

public IllegalResourceException( String message )
{
super( message );
}

public IllegalResourceException( String message, Throwable cause )
{
super( message, cause );
}

public IllegalResourceException( Throwable cause )
{
super( cause );
}
}
}
Expand Up @@ -27,15 +27,5 @@
*/
public interface InjectedTransactionValidator
{
// This is used by the lucene data source, and some tests for convenience.
InjectedTransactionValidator ALLOW_ALL = new InjectedTransactionValidator(){

@Override
public void assertInjectionAllowed( long lastCommittedTxWhenTransactionStarted )
{
// Always ok.
}
};

void assertInjectionAllowed( long lastCommittedTxWhenTransactionStarted ) throws TransactionFailureException;
}

This file was deleted.

This file was deleted.

Expand Up @@ -221,7 +221,7 @@ private void track( CommonAbstractStore store, long id )
HighId highId = highIds.get( store );
if ( highId == null )
{
highIds.put( store, highId = new HighId( id ) );
highIds.put( store, new HighId( id ) );
}
else
{
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 8926a6b

Please sign in to comment.