commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1171839 - /commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BeanProcessor.java
Date Fri, 16 Sep 2011 22:44:05 GMT
Author: simonetripodi
Date: Fri Sep 16 22:44:05 2011
New Revision: 1171839

URL: http://svn.apache.org/viewvc?rev=1171839&view=rev
Log:
checkstyle complains Array brackets are at illegal position

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

Modified: commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BeanProcessor.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BeanProcessor.java?rev=1171839&r1=1171838&r2=1171839&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BeanProcessor.java (original)
+++ commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BeanProcessor.java Fri
Sep 16 22:44:05 2011
@@ -381,7 +381,7 @@ public class BeanProcessor {
             PropertyDescriptor[] props) throws SQLException {
 
         int cols = rsmd.getColumnCount();
-        int columnToProperty[] = new int[cols + 1];
+        int[] columnToProperty = new int[cols + 1];
         Arrays.fill(columnToProperty, PROPERTY_NOT_FOUND);
 
         for (int col = 1; col <= cols; col++) {



Mime
View raw message