commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1182403 - /commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/DbUtils.java
Date Wed, 12 Oct 2011 14:35:55 GMT
Author: simonetripodi
Date: Wed Oct 12 14:35:54 2011
New Revision: 1182403

URL: http://svn.apache.org/viewvc?rev=1182403&view=rev
Log:
fixed clirr warning: Accessibility of method 'public DbUtils()' has been decreased from public
to private

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

Modified: commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/DbUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/DbUtils.java?rev=1182403&r1=1182402&r2=1182403&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/DbUtils.java (original)
+++ commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/DbUtils.java Wed
Oct 12 14:35:54 2011
@@ -28,11 +28,14 @@ import java.sql.Statement;
 public final class DbUtils {
 
     /**
-     * Hidden constructor - Utility classes should not have a public or default constructor.
+     * Default constructor.
+     *
+     * Utility classes should not have a public or default constructor,
+     * but this one preserves retro-compatibility.
      *
      * @since 1.4
      */
-    private DbUtils() {
+    public DbUtils() {
         // do nothing
     }
 



Mime
View raw message