Skip to content

Commit d69bc96

Browse files
committed
Removed debug prints
1 parent 775add9 commit d69bc96

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

driver/src/test/java/org/neo4j/driver/v1/util/Neo4jRunner.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import java.net.URI;
2525
import java.nio.channels.SocketChannel;
2626
import java.util.ArrayList;
27-
import java.util.Arrays;
2827
import java.util.List;
2928
import java.util.Map;
3029
import java.util.logging.Level;
@@ -53,8 +52,6 @@ public class Neo4jRunner
5352
{
5453
private static Neo4jRunner globalInstance;
5554

56-
private static final boolean debug = true;
57-
5855
private static final String DEFAULT_NEOCTRL_ARGS = "-e 3.2.7";
5956
public static final String NEOCTRL_ARGS = System.getProperty( "neoctrl.args", DEFAULT_NEOCTRL_ARGS );
6057
public static final URI DEFAULT_URI = URI.create( "bolt://localhost:7687" );
@@ -78,7 +75,6 @@ public class Neo4jRunner
7875
/** Global runner controlling a single server, used to avoid having to restart the server between tests */
7976
public static synchronized Neo4jRunner getOrCreateGlobalRunner() throws IOException
8077
{
81-
System.out.println( "--- Discovered neoctrl.args: " + System.getProperty( "neoctrl.args" ) );
8278
assumeTrue( "BoltKit support unavailable", boltKitAvailable() );
8379
if ( globalInstance == null )
8480
{
@@ -155,10 +151,8 @@ private void installNeo4j() throws IOException
155151
List<String> commands = new ArrayList<>();
156152
commands.add( "neoctrl-install" );
157153
String[] split = NEOCTRL_ARGS.trim().split( "\\s+" );
158-
System.out.println( "--- Split neoctrl.args: " + Arrays.toString( split ) );
159154
commands.addAll( asList( split ) );
160155
commands.add( NEO4J_DIR );
161-
System.out.println( "--- Full neoctrl-install command: " + commands );
162156

163157
String tempHomeDir = executeCommand( commands ).trim();
164158
debug( "Downloaded server at `%s`, now renaming to `%s`.", tempHomeDir, HOME_DIR );
@@ -320,10 +314,7 @@ private void installShutdownHook()
320314

321315
public static void debug( String text, Object... args )
322316
{
323-
if ( debug )
324-
{
325-
System.out.println( String.format( text, args ) );
326-
}
317+
System.out.println( String.format( text, args ) );
327318
}
328319
}
329320

0 commit comments

Comments
 (0)