Skip to content

Commit 0bff26e

Browse files
authored
Align HikariPool.logPoolState (#2284)
1 parent bbd698e commit 0bff26e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/zaxxer/hikari/pool/HikariPool.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public synchronized void shutdown() throws InterruptedException
252252
}
253253
}
254254
finally {
255-
logPoolState("After shutdown ");
255+
logPoolState("After shutdown ");
256256
handleMBeans(this, false);
257257
metricsTracker.close();
258258
}
@@ -832,7 +832,7 @@ else if (now > plusMillis(previous, (3 * housekeepingPeriodMs) / 2)) {
832832
maxToRemove--;
833833
}
834834
}
835-
logPoolState("After cleanup ");
835+
logPoolState("After cleanup ");
836836
}
837837
else
838838
logPoolState("Pool ");

src/test/java/com/zaxxer/hikari/pool/TestConnections.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ public void testBackfill() throws Exception
517517

518518
assertSame("Total connections not as expected", 0, pool.getTotalConnections());
519519

520-
pool.logPoolState("testBackfill() after close...");
520+
pool.logPoolState("testBackfill() after close...");
521521

522522
quietlySleep(1250);
523523

0 commit comments

Comments
 (0)