diff --git a/src/main/java/org/apache/ibatis/datasource/pooled/PooledDataSource.java b/src/main/java/org/apache/ibatis/datasource/pooled/PooledDataSource.java index 758b396be79..9bc0c1a2b08 100644 --- a/src/main/java/org/apache/ibatis/datasource/pooled/PooledDataSource.java +++ b/src/main/java/org/apache/ibatis/datasource/pooled/PooledDataSource.java @@ -385,7 +385,7 @@ public PoolState getPoolState() { } private int assembleConnectionTypeCode(String url, String username, String password) { - return ("" + url + username + password).hashCode(); + return (url + username + password).hashCode(); } protected void pushConnection(PooledConnection conn) throws SQLException {