Repository: commons-dbcp
Updated Branches:
  refs/heads/master fbf2ef517 -> de62c6557


No need to ALL CAPS comment.

Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/de62c655
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/de62c655
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/de62c655

Branch: refs/heads/master
Commit: de62c65578ee43d0f038db757b18954b54c49dbc
Parents: fbf2ef5
Author: Gary Gregory <garydgreg...@gmail.com>
Authored: Wed Nov 14 08:09:28 2018 -0700
Committer: Gary Gregory <garydgreg...@gmail.com>
Committed: Wed Nov 14 08:09:28 2018 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/commons/dbcp2/Utils.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/de62c655/src/main/java/org/apache/commons/dbcp2/Utils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/Utils.java 
b/src/main/java/org/apache/commons/dbcp2/Utils.java
index 244b51b..f9be612 100644
--- a/src/main/java/org/apache/commons/dbcp2/Utils.java
+++ b/src/main/java/org/apache/commons/dbcp2/Utils.java
@@ -59,9 +59,9 @@ public final class Utils {
 
     static {
         DISCONNECTION_SQL_CODES = new HashSet<>();
-        DISCONNECTION_SQL_CODES.add("57P01"); // ADMIN SHUTDOWN
-        DISCONNECTION_SQL_CODES.add("57P02"); // CRASH SHUTDOWN
-        DISCONNECTION_SQL_CODES.add("57P03"); // CANNOT CONNECT NOW
+        DISCONNECTION_SQL_CODES.add("57P01"); // Admin shutdown
+        DISCONNECTION_SQL_CODES.add("57P02"); // Crash shutdown
+        DISCONNECTION_SQL_CODES.add("57P03"); // Cannot connect now
         DISCONNECTION_SQL_CODES.add("01002"); // SQL92 disconnect error
         DISCONNECTION_SQL_CODES.add("JZ0C0"); // Sybase disconnect error
         DISCONNECTION_SQL_CODES.add("JZ0C1"); // Sybase disconnect error

Reply via email to