cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r609745 - /cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/test/java/org/apache/cocoon/environment/mock/MockRequestAttributes.java
Date Mon, 07 Jan 2008 19:19:32 GMT
Author: cziegeler
Date: Mon Jan  7 11:19:31 2008
New Revision: 609745

URL: http://svn.apache.org/viewvc?rev=609745&view=rev
Log:
Make test case compile again.

Modified:
    cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/test/java/org/apache/cocoon/environment/mock/MockRequestAttributes.java

Modified: cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/test/java/org/apache/cocoon/environment/mock/MockRequestAttributes.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/test/java/org/apache/cocoon/environment/mock/MockRequestAttributes.java?rev=609745&r1=609744&r2=609745&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/test/java/org/apache/cocoon/environment/mock/MockRequestAttributes.java
(original)
+++ cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/test/java/org/apache/cocoon/environment/mock/MockRequestAttributes.java
Mon Jan  7 11:19:31 2008
@@ -18,8 +18,6 @@
  */
 package org.apache.cocoon.environment.mock;
 
-import java.util.ArrayList;
-import java.util.Collections;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
@@ -128,10 +126,4 @@
             task.run();
         }
     }
-
-    public String[] getAttributeNames(int scope) {
-        ArrayList attributeNames = Collections.list(this.request.getAttributeNames(scope));
-        return (String[]) attributeNames.toArray(new String[attributeNames.size()]);
-    }
-
 }



Mime
View raw message