Change so they compile under jdk1.2.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137180 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2bc43c9abb
commit
01fd4c6fab
|
@ -68,7 +68,7 @@ import org.apache.commons.lang.functor.PredicateUtils;
|
|||
* Tests the org.apache.commons.lang.functor.ExecutorUtils class.
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @version $Id: TestExecutorUtils.java,v 1.3 2002/11/22 23:11:58 bayard Exp $
|
||||
* @version $Id: TestExecutorUtils.java,v 1.4 2002/12/15 12:30:44 scolebourne Exp $
|
||||
*/
|
||||
public class TestExecutorUtils extends junit.framework.TestCase {
|
||||
|
||||
|
@ -413,7 +413,7 @@ public class TestExecutorUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchExecutorEx4() {
|
||||
try {
|
||||
ExecutorUtils.switchExecutor(Collections.EMPTY_MAP);
|
||||
ExecutorUtils.switchExecutor(new HashMap());
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
@ -487,7 +487,7 @@ public class TestExecutorUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchMapExecutorEx2() {
|
||||
try {
|
||||
ExecutorUtils.switchMapExecutor(Collections.EMPTY_MAP);
|
||||
ExecutorUtils.switchMapExecutor(new HashMap());
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -76,7 +76,7 @@ import org.apache.commons.lang.functor.PredicateUtils;
|
|||
* Tests the org.apache.commons.lang.functor.TransformerUtils class.
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @version $Id: TestTransformerUtils.java,v 1.4 2002/11/22 23:11:58 bayard Exp $
|
||||
* @version $Id: TestTransformerUtils.java,v 1.5 2002/12/15 12:30:44 scolebourne Exp $
|
||||
*/
|
||||
public class TestTransformerUtils extends junit.framework.TestCase {
|
||||
|
||||
|
@ -403,7 +403,7 @@ public class TestTransformerUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchTransformerEx4() {
|
||||
try {
|
||||
TransformerUtils.switchTransformer(Collections.EMPTY_MAP);
|
||||
TransformerUtils.switchTransformer(new HashMap());
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
@ -460,7 +460,7 @@ public class TestTransformerUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchMapTransformerEx2() {
|
||||
try {
|
||||
TransformerUtils.switchMapTransformer(Collections.EMPTY_MAP);
|
||||
TransformerUtils.switchMapTransformer(new HashMap());
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue