commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1091344 - in /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect: ConstructorUtils.java MethodUtils.java
Date Tue, 12 Apr 2011 09:38:46 GMT
Author: bayard
Date: Tue Apr 12 09:38:46 2011
New Revision: 1091344

URL: http://svn.apache.org/viewvc?rev=1091344&view=rev
Log:
Removing unncessary brackets

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java?rev=1091344&r1=1091343&r2=1091344&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java
Tue Apr 12 09:38:46 2011
@@ -219,7 +219,7 @@ public class ConstructorUtils {
         try {
             return getAccessibleConstructor(cls.getConstructor(parameterTypes));
         } catch (NoSuchMethodException e) {
-            return (null);
+            return null;
         }
     }
 

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java?rev=1091344&r1=1091343&r2=1091344&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java
Tue Apr 12 09:38:46 2011
@@ -370,7 +370,7 @@ public class MethodUtils {
             return getAccessibleMethod(cls.getMethod(methodName,
                     parameterTypes));
         } catch (NoSuchMethodException e) {
-            return (null);
+            return null;
         }
     }
 



Mime
View raw message