You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/11/03 21:55:33 UTC

svn commit: r1712405 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java

Author: britter
Date: Tue Nov  3 20:55:33 2015
New Revision: 1712405

URL: http://svn.apache.org/viewvc?rev=1712405&view=rev
Log:
Drop unnecessary parantheses

Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java?rev=1712405&r1=1712404&r2=1712405&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java (original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java Tue Nov  3 20:55:33 2015
@@ -113,7 +113,7 @@ public class MappedPropertyDescriptor
             mappedWriteMethod = getMethod(beanClass, "set" + base, 2);
         }
 
-        if ((mappedReadMethod == null) && (mappedWriteMethod == null)) {
+        if (mappedReadMethod == null && mappedWriteMethod == null) {
             throw new IntrospectionException("Property '" + propertyName + "' not found on " + beanClass.getName());
         }
         mappedReadMethodRef = new MappedMethodReference(mappedReadMethod);