Skip to content

Commit

Permalink
Formatting and naming comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaDemianenko committed Jan 26, 2018
1 parent c787e0c commit b934188
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 13 deletions.
Expand Up @@ -71,7 +71,7 @@
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;

public class EagerResultITTest
public class EagerResultIT
{
@Rule
public final TestDirectory testDirectory = TestDirectory.testDirectory();
Expand Down
Expand Up @@ -191,7 +191,6 @@ public class MuninnPageCache implements PageCache

// 'true' (the default) if we should print any exceptions we get when unmapping a file.
private boolean printExceptionsOnClose;

/**
* Create page cache
* @param swapperFactory page cache swapper factory
Expand Down
Expand Up @@ -39,7 +39,6 @@ public void initRead()
@Override
public void initWrite( long committingTransactionId )
{

}

@Override
Expand All @@ -57,7 +56,6 @@ public long lastClosedTransactionId()
@Override
public void markAsDirty()
{

}

@Override
Expand Down
Expand Up @@ -286,13 +286,24 @@ boolean applicable( DiagnosticsPhase phase )
* core API are now slowly accumulating in the Kernel implementation. Over time, these components should be
* refactored into bigger components that wrap the very granular things we depend on here.
*/
public NeoStoreDataSource( File storeDir, Config config, IdGeneratorFactory idGeneratorFactory,
LogService logService, JobScheduler scheduler, TokenNameLookup tokenNameLookup,
DependencyResolver dependencyResolver, PropertyKeyTokenHolder propertyKeyTokens,
LabelTokenHolder labelTokens, RelationshipTypeTokenHolder relationshipTypeTokens,
StatementLocksFactory statementLocksFactory, SchemaWriteGuard schemaWriteGuard,
TransactionEventHandlers transactionEventHandlers, IndexingService.Monitor indexingServiceMonitor,
FileSystemAbstraction fs, TransactionMonitor transactionMonitor, DatabaseHealth databaseHealth,
public NeoStoreDataSource(
File storeDir,
Config config,
IdGeneratorFactory idGeneratorFactory,
LogService logService,
JobScheduler scheduler,
TokenNameLookup tokenNameLookup,
DependencyResolver dependencyResolver,
PropertyKeyTokenHolder propertyKeyTokens,
LabelTokenHolder labelTokens,
RelationshipTypeTokenHolder relationshipTypeTokens,
StatementLocksFactory statementLocksFactory,
SchemaWriteGuard schemaWriteGuard,
TransactionEventHandlers transactionEventHandlers,
IndexingService.Monitor indexingServiceMonitor,
FileSystemAbstraction fs,
TransactionMonitor transactionMonitor,
DatabaseHealth databaseHealth,
PhysicalLogFile.Monitor physicalLogMonitor,
TransactionHeaderInformationFactory transactionHeaderInformationFactory,
StartupStatisticsProvider startupStatistics,
Expand Down
Expand Up @@ -94,8 +94,9 @@ public CountsTracker( final LogProvider logProvider, FileSystemAbstraction fs, P
public CountsTracker( final LogProvider logProvider, FileSystemAbstraction fs, PageCache pages, Config config,
File baseFile, SystemNanoClock clock, VersionContextSupplier versionContextSupplier )
{
super( fs, pages, baseFile, new CountsTrackerRotationMonitor( logProvider ), new RotationTimerFactory( clock,
config.get( counts_store_rotation_timeout ).toMillis() ), versionContextSupplier,16, 16, HEADER_FIELDS );
super( fs, pages, baseFile, new CountsTrackerRotationMonitor( logProvider ),
new RotationTimerFactory( clock, config.get( counts_store_rotation_timeout ).toMillis() ),
versionContextSupplier, 16, 16, HEADER_FIELDS );
}

public CountsTracker setInitializer( final DataInitializer<Updater> initializer )
Expand Down

0 comments on commit b934188

Please sign in to comment.