Author: britter
Date: Sun Feb 24 11:33:25 2013
New Revision: 1449458
URL: http://svn.apache.org/r1449458
Log:
Remove obsolete variable assignments in tests that test for expected failures
Modified:
commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConstructorUtilsTestCase.java
Modified:
commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConstructorUtilsTestCase.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConstructorUtilsTestCase.java?rev=1449458&r1=1449457&r2=1449458&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConstructorUtilsTestCase.java
(original)
+++
commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConstructorUtilsTestCase.java
Sun Feb 24 11:33:25 2013
@@ -133,7 +133,7 @@ public class ConstructorUtilsTestCase ex
}
{
try {
- Object obj =
ConstructorUtils.invokeExactConstructor(TestBean.class,new Float(17.3f));
+ ConstructorUtils.invokeExactConstructor(TestBean.class,new
Float(17.3f));
fail("Expected NoSuchMethodException");
} catch(NoSuchMethodException e) {
// expected
@@ -151,7 +151,7 @@ public class ConstructorUtilsTestCase ex
{
Object[] args = { new Float(17.3f), "TEST" };
try {
- Object obj =
ConstructorUtils.invokeExactConstructor(TestBean.class,args);
+ ConstructorUtils.invokeExactConstructor(TestBean.class,args);
fail("Expected NoSuchMethodException");
} catch(NoSuchMethodException e) {
// expected
@@ -199,7 +199,7 @@ public class ConstructorUtilsTestCase ex
Object[] args = { new Float(17.3f), "TEST" };
Class[] types = { Float.class, String.class };
try {
- Object obj =
ConstructorUtils.invokeExactConstructor(TestBean.class,args,types);
+
ConstructorUtils.invokeExactConstructor(TestBean.class,args,types);
fail("Expected NoSuchMethodException");
} catch(NoSuchMethodException e) {
// expected