cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r721193 - /cocoon/cocoon3/trunk/cocoon-sample/src/test/java/org/apache/cocoon/sitemap/MockHttpServletRequest.java
Date Thu, 27 Nov 2008 14:48:14 GMT
Author: gkossakowski
Date: Thu Nov 27 06:48:14 2008
New Revision: 721193

URL: http://svn.apache.org/viewvc?rev=721193&view=rev
Log:
Add type parameters to Enumeration in MockHttpServletRequest.

Modified:
    cocoon/cocoon3/trunk/cocoon-sample/src/test/java/org/apache/cocoon/sitemap/MockHttpServletRequest.java

Modified: cocoon/cocoon3/trunk/cocoon-sample/src/test/java/org/apache/cocoon/sitemap/MockHttpServletRequest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/test/java/org/apache/cocoon/sitemap/MockHttpServletRequest.java?rev=721193&r1=721192&r2=721193&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample/src/test/java/org/apache/cocoon/sitemap/MockHttpServletRequest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sample/src/test/java/org/apache/cocoon/sitemap/MockHttpServletRequest.java
Thu Nov 27 06:48:14 2008
@@ -45,7 +45,7 @@
         return null;
     }
 
-    public Enumeration getAttributeNames() {
+    public Enumeration<String> getAttributeNames() {
         return null;
     }
 
@@ -81,11 +81,11 @@
         return null;
     }
 
-    public Enumeration getHeaderNames() {
+    public Enumeration<String> getHeaderNames() {
         return null;
     }
 
-    public Enumeration getHeaders(String name) {
+    public Enumeration<String> getHeaders(String name) {
         return null;
     }
 
@@ -105,7 +105,7 @@
         return null;
     }
 
-    public Enumeration getLocales() {
+    public Enumeration<Locale> getLocales() {
         return null;
     }
 
@@ -125,11 +125,11 @@
         return this.parameters.get(name);
     }
 
-    public Map getParameterMap() {
+    public Map<String, String> getParameterMap() {
         return this.parameters;
     }
 
-    public Enumeration getParameterNames() {
+    public Enumeration<String> getParameterNames() {
         return Collections.enumeration(this.parameters.keySet());
     }
 



Mime
View raw message