Skip to content

Commit 41d8abb

Browse files
committed
Fixed compiler warnings
1 parent c1cd7a2 commit 41d8abb

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

driver/src/main/java/org/neo4j/driver/internal/NetworkSession.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ public String lastBookmark()
249249
}
250250

251251
@Override
252+
@SuppressWarnings( "deprecation" )
252253
public void reset()
253254
{
254255
Futures.blockingGet( resetAsync(),

driver/src/test/java/org/neo4j/driver/v1/GraphDatabaseTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public void boltPlusDiscoverySchemeShouldInstantiateClusterDriver() throws Excep
8989
}
9090

9191
@Test
92+
@SuppressWarnings( "deprecation" )
9293
public void boltPlusDiscoverySchemeShouldNotSupportTrustOnFirstUse()
9394
{
9495
URI uri = URI.create( "bolt+routing://127.0.0.1:9001" );

driver/src/test/java/org/neo4j/driver/v1/tck/tck/util/ResultParser.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
import org.neo4j.driver.internal.value.PathValue;
3838
import org.neo4j.driver.internal.value.RelationshipValue;
3939
import org.neo4j.driver.internal.value.StringValue;
40-
import org.neo4j.driver.v1.types.Entity;
41-
import org.neo4j.driver.v1.types.Path;
4240
import org.neo4j.driver.v1.Value;
4341
import org.neo4j.driver.v1.Values;
42+
import org.neo4j.driver.v1.types.Entity;
43+
import org.neo4j.driver.v1.types.Path;
4444

4545
import static java.lang.String.format;
4646
import static org.junit.Assert.assertEquals;
@@ -359,6 +359,7 @@ public static String[] getList( String resultValue )
359359
return resultValue.substring( 1, resultValue.length() - 1 ).split( ", " );
360360
}
361361

362+
@SuppressWarnings( "unchecked" )
362363
public static Map<String,Object> getMapOfObjects( String input, boolean normalInts )
363364
{
364365
Map<String,Object> properties = new HashMap<>();

driver/src/test/java/org/neo4j/driver/v1/util/cc/Cluster.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ private static Config driverConfig()
420420
.withTrustStrategy( trustAllCertificates() )
421421
.withEncryption()
422422
.withMaxConnectionPoolSize( 1 )
423-
.withMaxIdleConnections( 1 )
424423
.withConnectionLivenessCheckTimeout( 1, TimeUnit.HOURS )
425424
.toConfig();
426425
}

0 commit comments

Comments
 (0)