You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/01/08 15:33:21 UTC
[commons-pool] branch master updated: Collapse multiple identical
catch clauses into one.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/master by this push:
new 0fc2d50 Collapse multiple identical catch clauses into one.
0fc2d50 is described below
commit 0fc2d5096370e80116d4a62f9a494b304046bc51
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jan 8 10:33:17 2021 -0500
Collapse multiple identical catch clauses into one.
---
.../java/org/apache/commons/pool2/performance/PerformanceTest.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java b/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java
index d5f31d4..31a04df 100644
--- a/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java
+++ b/src/test/java/org/apache/commons/pool2/performance/PerformanceTest.java
@@ -151,9 +151,7 @@ public class PerformanceTest {
TaskStats taskStats = null;
try {
taskStats = future.get();
- } catch (final InterruptedException e) {
- e.printStackTrace();
- } catch (final ExecutionException e) {
+ } catch (final InterruptedException | ExecutionException e) {
e.printStackTrace();
}
if (taskStats != null) {