commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1090739 - /commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/DbUtils.java
Date Sun, 10 Apr 2011 04:55:26 GMT
Author: bayard
Date: Sun Apr 10 04:55:26 2011
New Revision: 1090739

URL: http://svn.apache.org/viewvc?rev=1090739&view=rev
Log:
Adding NOPMD flags

Modified:
    commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/DbUtils.java

Modified: commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/DbUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/DbUtils.java?rev=1090739&r1=1090738&r2=1090739&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/DbUtils.java (original)
+++ commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/DbUtils.java Sun Apr
10 04:55:26 2011
@@ -72,7 +72,7 @@ public final class DbUtils {
     public static void closeQuietly(Connection conn) {
         try {
             close(conn);
-        } catch (SQLException e) {
+        } catch (SQLException e) { // NOPMD
             // quiet
         }
     }
@@ -110,7 +110,7 @@ public final class DbUtils {
     public static void closeQuietly(ResultSet rs) {
         try {
             close(rs);
-        } catch (SQLException e) {
+        } catch (SQLException e) { // NOPMD
             // quiet
         }
     }
@@ -124,7 +124,7 @@ public final class DbUtils {
     public static void closeQuietly(Statement stmt) {
         try {
             close(stmt);
-        } catch (SQLException e) {
+        } catch (SQLException e) { // NOPMD
             // quiet
         }
     }
@@ -154,7 +154,7 @@ public final class DbUtils {
     public static void commitAndCloseQuietly(Connection conn) {
         try {
             commitAndClose(conn);
-        } catch (SQLException e) {
+        } catch (SQLException e) { // NOPMD
             // quiet
         }
     }
@@ -278,7 +278,7 @@ public final class DbUtils {
     public static void rollbackAndCloseQuietly(Connection conn) {
         try {
             rollbackAndClose(conn);
-        } catch (SQLException e) {
+        } catch (SQLException e) { // NOPMD
             // quiet
         }
     }



Mime
View raw message