scolebourne    2002/12/15 04:30:44

  Modified:    lang/src/test/org/apache/commons/lang/functor
                        TestTransformerUtils.java TestExecutorUtils.java
  Log:
  Change so they compile under jdk1.2.1
  
  Revision  Changes    Path
  1.5       +3 -3      
jakarta-commons/lang/src/test/org/apache/commons/lang/functor/TestTransformerUtils.java
  
  Index: TestTransformerUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/functor/TestTransformerUtils.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestTransformerUtils.java 22 Nov 2002 23:11:58 -0000      1.4
  +++ TestTransformerUtils.java 15 Dec 2002 12:30:44 -0000      1.5
  @@ -403,7 +403,7 @@
       
       public void testSwitchTransformerEx4() {
           try {
  -            TransformerUtils.switchTransformer(Collections.EMPTY_MAP);
  +            TransformerUtils.switchTransformer(new HashMap());
           } catch (IllegalArgumentException ex) {
               return;
           }
  @@ -460,7 +460,7 @@
       
       public void testSwitchMapTransformerEx2() {
           try {
  -            TransformerUtils.switchMapTransformer(Collections.EMPTY_MAP);
  +            TransformerUtils.switchMapTransformer(new HashMap());
           } catch (IllegalArgumentException ex) {
               return;
           }
  
  
  
  1.4       +3 -3      
jakarta-commons/lang/src/test/org/apache/commons/lang/functor/TestExecutorUtils.java
  
  Index: TestExecutorUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/functor/TestExecutorUtils.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestExecutorUtils.java    22 Nov 2002 23:11:58 -0000      1.3
  +++ TestExecutorUtils.java    15 Dec 2002 12:30:44 -0000      1.4
  @@ -413,7 +413,7 @@
       
       public void testSwitchExecutorEx4() {
           try {
  -            ExecutorUtils.switchExecutor(Collections.EMPTY_MAP);
  +            ExecutorUtils.switchExecutor(new HashMap());
           } catch (IllegalArgumentException ex) {
               return;
           }
  @@ -487,7 +487,7 @@
       
       public void testSwitchMapExecutorEx2() {
           try {
  -            ExecutorUtils.switchMapExecutor(Collections.EMPTY_MAP);
  +            ExecutorUtils.switchMapExecutor(new HashMap());
           } catch (IllegalArgumentException ex) {
               return;
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to