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 2018/06/20 20:07:58 UTC

commons-dbcp git commit: Fix PMD violation: Avoid modifiers which are implied by the context.

Repository: commons-dbcp
Updated Branches:
  refs/heads/master 13a09f4ed -> 76c80ad28


Fix PMD violation: Avoid modifiers which are implied by the context.

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

Branch: refs/heads/master
Commit: 76c80ad2819c85f71977e584bd1bfb3704ae6fa1
Parents: 13a09f4
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed Jun 20 14:07:55 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed Jun 20 14:07:55 2018 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/dbcp2/PStmtKey.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/76c80ad2/src/main/java/org/apache/commons/dbcp2/PStmtKey.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/PStmtKey.java b/src/main/java/org/apache/commons/dbcp2/PStmtKey.java
index 92eb2c9..9202838 100644
--- a/src/main/java/org/apache/commons/dbcp2/PStmtKey.java
+++ b/src/main/java/org/apache/commons/dbcp2/PStmtKey.java
@@ -126,7 +126,7 @@ public class PStmtKey {
      * Interface for Prepared or Callable Statement.
      */
     private interface StatementBuilder {
-        public Statement createStatement(Connection connection) throws SQLException;
+        Statement createStatement(Connection connection) throws SQLException;
     }
 
     /**