Skip to content

Commit 9ab905a

Browse files
authored
Fix Checkstyle trailing whitespace
1 parent 72f201d commit 9ab905a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/test/java/org/apache/commons/pool3/impl/TestBaseGenericObjectPool.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,18 +298,16 @@ void testStatsStoreCircularBuffer() throws Exception {
298298
assertTrue(pool.getMeanBorrowWaitTimeMillis() >= 50); // Should be influenced by recent higher values
299299
}
300300

301-
@Test
301+
@Test
302302
void testDetailedStatisticsConfigIntegration() {
303303
// Test that config property is properly applied during pool construction
304304
final GenericObjectPoolConfig<String> config = new GenericObjectPoolConfig<>();
305305
config.setCollectDetailedStatistics(false);
306306
try (GenericObjectPool<String, TestException> testPool = new GenericObjectPool<>(factory, config)) {
307-
assertFalse(testPool.getCollectDetailedStatistics(),
308-
"Pool should respect collectDetailedStatistics setting from config");
307+
assertFalse(testPool.getCollectDetailedStatistics(), "Pool should respect collectDetailedStatistics setting from config");
309308
// Test that toString includes the new property
310309
final String configString = config.toString();
311-
assertTrue(configString.contains("collectDetailedStatistics"),
312-
"Config toString should include collectDetailedStatistics property");
310+
assertTrue(configString.contains("collectDetailedStatistics"), "Config toString should include collectDetailedStatistics property");
313311
}
314312
}
315313
}

0 commit comments

Comments
 (0)