commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1171830&view=rev
Log:
fixed checkstyle violation: Array brackets 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=1171830&r1=1171829&r2=1171830&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:21:44 2011
@@ -285,15 +285,13 @@ public class BeanProcessor {
         if (value == null || type.isInstance(value)) {
             return true;
 
-        } else if (
-            type.equals(Integer.TYPE) && Integer.class.isInstance(value)) {
+        } else if (type.equals(Integer.TYPE) && Integer.class.isInstance(value))
{
             return true;
 
         } else if (type.equals(Long.TYPE) && Long.class.isInstance(value)) {
             return true;
 
-        } else if (
-            type.equals(Double.TYPE) && Double.class.isInstance(value)) {
+        } else if (type.equals(Double.TYPE) && Double.class.isInstance(value)) {
             return true;
 
         } else if (type.equals(Float.TYPE) && Float.class.isInstance(value)) {
@@ -305,12 +303,10 @@ public class BeanProcessor {
         } else if (type.equals(Byte.TYPE) && Byte.class.isInstance(value)) {
             return true;
 
-        } else if (
-            type.equals(Character.TYPE) && Character.class.isInstance(value)) {
+        } else if (type.equals(Character.TYPE) && Character.class.isInstance(value))
{
             return true;
 
-        } else if (
-            type.equals(Boolean.TYPE) && Boolean.class.isInstance(value)) {
+        } else if (type.equals(Boolean.TYPE) && Boolean.class.isInstance(value))
{
             return true;
 
         } else {



Mime
View raw message