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/17 21:41:45 UTC
[commons-dbcp] branch master updated: Make private elements final
where possible.
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-dbcp.git
The following commit(s) were added to refs/heads/master by this push:
new 5286693 Make private elements final where possible.
5286693 is described below
commit 52866934f7d2bd71dd2bbdb4b0a31b75697f8371
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 17 16:41:41 2021 -0500
Make private elements final where possible.
---
.../apache/commons/dbcp2/managed/TestManagedConnectionCachedState.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnectionCachedState.java b/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnectionCachedState.java
index 5f34690..02a3d72 100644
--- a/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnectionCachedState.java
+++ b/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnectionCachedState.java
@@ -115,7 +115,7 @@ public class TestManagedConnectionCachedState {
private static class SwallowedExceptionRecorder implements SwallowedExceptionListener {
- private List<Exception> exceptions = new ArrayList<>();
+ private final List<Exception> exceptions = new ArrayList<>();
@Override
public void onSwallowException(final Exception e) {