From 838d929067418b99e953ce887f738d69d3507902 Mon Sep 17 00:00:00 2001
From: Nitin <nitinchauhan@hotmail.com>
Date: Thu, 4 Feb 2016 15:55:14 +0530
Subject: [PATCH] using 'Failed' like every where else, instead of 'Unable'.

---
 src/main/java/com/zaxxer/hikari/pool/PoolBase.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/zaxxer/hikari/pool/PoolBase.java b/src/main/java/com/zaxxer/hikari/pool/PoolBase.java
index 52e0f620..f7edb733 100644
--- a/src/main/java/com/zaxxer/hikari/pool/PoolBase.java
+++ b/src/main/java/com/zaxxer/hikari/pool/PoolBase.java
@@ -242,7 +242,7 @@ abstract class PoolBase
          }
       }
       catch (Exception e) {
-         LOGGER.warn("{} - Unable to register management beans.", poolName, e);
+         LOGGER.warn("{} - Failed to register management beans.", poolName, e);
       }
    }
 
@@ -266,7 +266,7 @@ abstract class PoolBase
          }
       }
       catch (Exception e) {
-         LOGGER.warn("{} - Unable to unregister management beans.", poolName, e);
+         LOGGER.warn("{} - Failed to unregister management beans.", poolName, e);
       }
    }
 
@@ -409,7 +409,7 @@ abstract class PoolBase
          catch (Throwable e) {
             if (isQueryTimeoutSupported == UNINITIALIZED) {
                isQueryTimeoutSupported = FALSE;
-               LOGGER.warn("{} - Unable to set query timeout for statement. ({})", poolName, e.getMessage());
+               LOGGER.warn("{} - Failed to set query timeout for statement. ({})", poolName, e.getMessage());
             }
          }
       }
@@ -435,7 +435,7 @@ abstract class PoolBase
          catch (Throwable e) {
             if (isNetworkTimeoutSupported == UNINITIALIZED) {
                isNetworkTimeoutSupported = FALSE;
-               LOGGER.warn("{} - Unable to get/set network timeout for connection. ({})", poolName, e.getMessage());
+               LOGGER.warn("{} - Failed to get/set network timeout for connection. ({})", poolName, e.getMessage());
             }
          }
       }
@@ -516,7 +516,7 @@ abstract class PoolBase
             dataSource.setLoginTimeout((int) MILLISECONDS.toSeconds(Math.max(1000L, connectionTimeout)));
          }
          catch (Throwable e) {
-            LOGGER.warn("{} - Unable to set login timeout for data source. ({})", poolName, e.getMessage());
+            LOGGER.warn("{} - Failed to set login timeout for data source. ({})", poolName, e.getMessage());
          }
       }
    }