And moved bakc to 1.3 until I can figure out how to make them work at 1.2. Code appears to try to modify them?!?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137150 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d0fed98d52
commit
3a3889bebc
|
@ -68,13 +68,10 @@ 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.2 2002/11/22 22:52:40 bayard Exp $
|
||||
* @version $Id: TestExecutorUtils.java,v 1.3 2002/11/22 23:11:58 bayard Exp $
|
||||
*/
|
||||
public class TestExecutorUtils extends junit.framework.TestCase {
|
||||
|
||||
// JDK 1.2 compliancy
|
||||
private static final Map EMPTY_MAP = Collections.unmodifiableMap(new HashMap());
|
||||
|
||||
private static final Object cObject = new Object();
|
||||
private static final Object cString = "Hello";
|
||||
private static final Object cInteger = new Integer(6);
|
||||
|
@ -416,7 +413,7 @@ public class TestExecutorUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchExecutorEx4() {
|
||||
try {
|
||||
ExecutorUtils.switchExecutor(EMPTY_MAP);
|
||||
ExecutorUtils.switchExecutor(Collections.EMPTY_MAP);
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
@ -490,7 +487,7 @@ public class TestExecutorUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchMapExecutorEx2() {
|
||||
try {
|
||||
ExecutorUtils.switchMapExecutor(EMPTY_MAP);
|
||||
ExecutorUtils.switchMapExecutor(Collections.EMPTY_MAP);
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -76,13 +76,10 @@ 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.3 2002/11/22 22:52:40 bayard Exp $
|
||||
* @version $Id: TestTransformerUtils.java,v 1.4 2002/11/22 23:11:58 bayard Exp $
|
||||
*/
|
||||
public class TestTransformerUtils extends junit.framework.TestCase {
|
||||
|
||||
// JDK 1.2 compliancy
|
||||
private static final Map EMPTY_MAP = Collections.unmodifiableMap(new HashMap());
|
||||
|
||||
private static final Object cObject = new Object();
|
||||
private static final Object cString = "Hello";
|
||||
private static final Object cInteger = new Integer(6);
|
||||
|
@ -406,7 +403,7 @@ public class TestTransformerUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchTransformerEx4() {
|
||||
try {
|
||||
TransformerUtils.switchTransformer(EMPTY_MAP);
|
||||
TransformerUtils.switchTransformer(Collections.EMPTY_MAP);
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
@ -463,7 +460,7 @@ public class TestTransformerUtils extends junit.framework.TestCase {
|
|||
|
||||
public void testSwitchMapTransformerEx2() {
|
||||
try {
|
||||
TransformerUtils.switchMapTransformer(EMPTY_MAP);
|
||||
TransformerUtils.switchMapTransformer(Collections.EMPTY_MAP);
|
||||
} catch (IllegalArgumentException ex) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue