commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1538263 - /commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/Jira298TestCase.java
Date Sat, 02 Nov 2013 20:44:37 GMT
Author: oheger
Date: Sat Nov  2 20:44:37 2013
New Revision: 1538263

URL: http://svn.apache.org/r1538263
Log:
Fixed warning in test class.

Modified:
    commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/Jira298TestCase.java

Modified: commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/Jira298TestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/Jira298TestCase.java?rev=1538263&r1=1538262&r2=1538263&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/Jira298TestCase.java
(original)
+++ commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/Jira298TestCase.java
Sat Nov  2 20:44:37 2013
@@ -122,7 +122,7 @@ public class Jira298TestCase extends Tes
         Object result = null;
         try {
             Method m2 = MethodUtils.getAccessibleMethod(bean.getClass(), "getName", new Class[0]);
-            result = m2.invoke(bean, null);
+            result = m2.invoke(bean);
         } catch (Throwable t) {
             log.error("Failed: " + t.getMessage(), t);
             fail("Threw exception: " + t);



Mime
View raw message