From e8f7f6c8c2008ed3ee2b7fb2d40b8f2bcf1874a0 Mon Sep 17 00:00:00 2001 From: Bryan Burkholder Date: Thu, 21 Sep 2017 23:55:55 -0700 Subject: [PATCH] Update documentation for checkConnectionOnConnect (#2160) This should bring the documentation in line with the actual default value, as on line 389. --- .../src/main/java/io/dropwizard/db/DataSourceFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropwizard-db/src/main/java/io/dropwizard/db/DataSourceFactory.java b/dropwizard-db/src/main/java/io/dropwizard/db/DataSourceFactory.java index 810de3dc959..0c90f5bd24b 100644 --- a/dropwizard-db/src/main/java/io/dropwizard/db/DataSourceFactory.java +++ b/dropwizard-db/src/main/java/io/dropwizard/db/DataSourceFactory.java @@ -241,7 +241,7 @@ * * * {@code checkConnectionOnConnect} - * {@code false} + * {@code true} * * Whether or not connections will be validated before being added to the pool. If the * connection fails to validate, it won't be added to the pool.