commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1171834&view=rev
Log:
fixed checkstyle warning: Conditional logic can be removed.	

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=1171834&r1=1171833&r2=1171834&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:31:42 2011
@@ -309,9 +309,8 @@ public class BeanProcessor {
         } else if (type.equals(Boolean.TYPE) && Boolean.class.isInstance(value))
{
             return true;
 
-        } else {
-            return false;
         }
+        return false;
 
     }
 



Mime
View raw message