Skip to content

Commit

Permalink
Merge pull request #11416 from lutovich/3.4-unused-methods-in-EntryPo…
Browse files Browse the repository at this point in the history
…ints

Removed unused methods in server entry point classes
  • Loading branch information
lutovich committed Mar 29, 2018
2 parents 0f4b92c + 58ea77d commit 2af74eb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

public class CommunityEntryPoint
{
private static Bootstrapper bootstrapper;

private CommunityEntryPoint()
{
}
Expand All @@ -35,18 +33,4 @@ public static void main( String[] args )
System.exit( status );
}
}

public static void start( String[] args )
{
bootstrapper = new BlockingBootstrapper( new CommunityBootstrapper() );
System.exit( ServerBootstrapper.start( bootstrapper, args ) );
}

public static void stop( @SuppressWarnings( "UnusedParameters" ) String[] args )
{
if ( bootstrapper != null )
{
bootstrapper.stop();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,14 @@
*/
package org.neo4j.server.enterprise;

import java.io.IOException;
import java.util.Collections;

import org.neo4j.server.BlockingBootstrapper;
import org.neo4j.server.Bootstrapper;
import org.neo4j.server.ServerBootstrapper;
import org.neo4j.server.ServerCommandLineArgs;

import static org.neo4j.commandline.Util.neo4jVersion;

public class ArbiterEntryPoint
{
private static Bootstrapper bootstrapper;

private ArbiterEntryPoint()
{
}
Expand All @@ -53,18 +47,4 @@ public static void main( String[] argv )
}
}
}

public static void start( String[] args )
{
bootstrapper = new BlockingBootstrapper( new ArbiterBootstrapper() );
System.exit( ServerBootstrapper.start( bootstrapper, args ) );
}

public static void stop( @SuppressWarnings( "UnusedParameters" ) String[] args )
{
if ( bootstrapper != null )
{
bootstrapper.stop();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@
*/
package org.neo4j.server.enterprise;

import org.neo4j.server.BlockingBootstrapper;
import org.neo4j.server.Bootstrapper;
import org.neo4j.server.ServerBootstrapper;

public class OpenEnterpriseEntryPoint
{
private static Bootstrapper bootstrapper;

private OpenEnterpriseEntryPoint()
{
}
Expand All @@ -39,18 +35,4 @@ public static void main( String[] args )
System.exit( status );
}
}

public static void start( String[] args )
{
bootstrapper = new BlockingBootstrapper( new OpenEnterpriseBootstrapper() );
System.exit( ServerBootstrapper.start( bootstrapper, args ) );
}

public static void stop( @SuppressWarnings( "UnusedParameters" ) String[] args )
{
if ( bootstrapper != null )
{
bootstrapper.stop();
}
}
}

0 comments on commit 2af74eb

Please sign in to comment.