File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
driver/src/main/java/org/neo4j/driver/v1 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ public ConfigBuilder withMaxSessions( int size )
349349 * higher if you want more concurrent sessions, or lower if you want
350350 * to lower the pressure on the database instance.
351351 * <p>
352- * Method is deprecated and will forward the given argument to {@link #withMaxConnectionPoolSize(int)} .
352+ * Method is deprecated and will not change the driver configuration .
353353 *
354354 * @param size the max number of idle sessions to keep open
355355 * @return this builder
@@ -359,15 +359,15 @@ public ConfigBuilder withMaxSessions( int size )
359359 @ Deprecated
360360 public ConfigBuilder withMaxIdleSessions ( int size )
361361 {
362- return withMaxConnectionPoolSize ( size ) ;
362+ return this ;
363363 }
364364
365365 /**
366366 * The max number of idle connections to keep open at once. Configure this
367367 * higher for greater concurrency, or lower to reduce the pressure on the
368368 * database instance.
369369 * <p>
370- * Method is deprecated and will forward the given argument to {@link #withMaxConnectionPoolSize(int)} .
370+ * Method is deprecated and will not change the driver configuration .
371371 *
372372 * @param size the max number of idle connections to keep open
373373 * @return this builder
@@ -377,7 +377,7 @@ public ConfigBuilder withMaxIdleSessions( int size )
377377 @ Deprecated
378378 public ConfigBuilder withMaxIdleConnections ( int size )
379379 {
380- return withMaxConnectionPoolSize ( size ) ;
380+ return this ;
381381 }
382382
383383 /**
You can’t perform that action at this time.
0 commit comments