Skip to content

Commit

Permalink
Minor renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwebber committed Sep 15, 2016
1 parent 1bcbb66 commit f85aca2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Expand Up @@ -410,7 +410,7 @@ private Procedures setupProcedures( PlatformModule platform, EditionModule editi
// Edition procedures // Edition procedures
try try
{ {
editionModule.registerCrossEditionProcedures( procedures ); editionModule.registerProcedures( procedures );
} }
catch ( KernelException e ) catch ( KernelException e )
{ {
Expand Down
Expand Up @@ -67,7 +67,7 @@
*/ */
public abstract class EditionModule public abstract class EditionModule
{ {
public void registerCrossEditionProcedures( Procedures procedures ) throws KernelException public void registerProcedures( Procedures procedures ) throws KernelException
{ {
procedures.registerProcedure( org.neo4j.kernel.builtinprocs.BuiltInProcedures.class ); procedures.registerProcedure( org.neo4j.kernel.builtinprocs.BuiltInProcedures.class );
registerProceduresFromProvider( "auth-procedures-provider", procedures ); registerProceduresFromProvider( "auth-procedures-provider", procedures );
Expand Down
Expand Up @@ -102,6 +102,7 @@ public void onGetStoreIdResponse( CompletableFuture<StoreId> signal,
} }
catch ( CatchUpClientException | NoKnownAddressesException e ) catch ( CatchUpClientException | NoKnownAddressesException e )
{ {
e.printStackTrace();
throw new StoreIdDownloadFailedException( e ); throw new StoreIdDownloadFailedException( e );
} }
} }
Expand Down
Expand Up @@ -199,6 +199,9 @@ public void shouldShutdownRatherThanPullUpdatesFromCoreMemberWithDifferentStoreI
} }
catch ( RuntimeException required ) catch ( RuntimeException required )
{ {

required.printStackTrace();

// Lifecycle should throw exception, server should not start. // Lifecycle should throw exception, server should not start.
assertThat( required.getCause(), instanceOf( LifecycleException.class ) ); assertThat( required.getCause(), instanceOf( LifecycleException.class ) );
assertThat( required.getCause().getCause(), instanceOf( IllegalStateException.class ) ); assertThat( required.getCause().getCause(), instanceOf( IllegalStateException.class ) );
Expand Down

0 comments on commit f85aca2

Please sign in to comment.