Java 5 warning removal.

git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@3900 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/shell/HostedModeServletConfigProxy.java b/dev/core/src/com/google/gwt/dev/shell/HostedModeServletConfigProxy.java
index 147ce16..f5b0378 100644
--- a/dev/core/src/com/google/gwt/dev/shell/HostedModeServletConfigProxy.java
+++ b/dev/core/src/com/google/gwt/dev/shell/HostedModeServletConfigProxy.java
@@ -47,6 +47,7 @@
    * @return
    * @see javax.servlet.ServletConfig#getInitParameterNames()
    */
+  @SuppressWarnings("unchecked")
   public Enumeration<String> getInitParameterNames() {
     return config.getInitParameterNames();
   }
diff --git a/dev/core/src/com/google/gwt/dev/shell/HostedModeServletContextProxy.java b/dev/core/src/com/google/gwt/dev/shell/HostedModeServletContextProxy.java
index 852bc65..1c8cbf7 100644
--- a/dev/core/src/com/google/gwt/dev/shell/HostedModeServletContextProxy.java
+++ b/dev/core/src/com/google/gwt/dev/shell/HostedModeServletContextProxy.java
@@ -64,6 +64,7 @@
    * @return
    * @see javax.servlet.ServletContext#getAttributeNames()
    */
+  @SuppressWarnings("unchecked")
   public Enumeration<String> getAttributeNames() {
     return context.getAttributeNames();
   }
@@ -233,6 +234,7 @@
    * @return
    * @see javax.servlet.ServletContext#getResourcePaths(java.lang.String)
    */
+  @SuppressWarnings("unchecked")
   public Set<String> getResourcePaths(String path) {
     return context.getResourcePaths(path);
   }
@@ -271,6 +273,7 @@
    * @see javax.servlet.ServletContext#getServletNames()
    */
   @Deprecated
+  @SuppressWarnings("unchecked")
   public Enumeration<String> getServletNames() {
     return context.getServletNames();
   }
@@ -281,6 +284,7 @@
    * @see javax.servlet.ServletContext#getServlets()
    */
   @Deprecated
+  @SuppressWarnings("unchecked")
   public Enumeration<Servlet> getServlets() {
     return context.getServlets();
   }
diff --git a/user/test/com/google/gwt/user/server/rpc/MockHttpServletRequest.java b/user/test/com/google/gwt/user/server/rpc/MockHttpServletRequest.java
index 85fb169..8cd0375 100644
--- a/user/test/com/google/gwt/user/server/rpc/MockHttpServletRequest.java
+++ b/user/test/com/google/gwt/user/server/rpc/MockHttpServletRequest.java
@@ -37,7 +37,7 @@
     throw new UnsupportedOperationException();
   }
 
-  public Enumeration getAttributeNames() {
+  public Enumeration<String> getAttributeNames() {
     throw new UnsupportedOperationException();
   }
 
@@ -73,11 +73,11 @@
     throw new UnsupportedOperationException();
   }
 
-  public Enumeration getHeaderNames() {
+  public Enumeration<String> getHeaderNames() {
     throw new UnsupportedOperationException();
   }
 
-  public Enumeration getHeaders(String arg0) {
+  public Enumeration<String> getHeaders(String arg0) {
     throw new UnsupportedOperationException();
   }
 
@@ -97,7 +97,7 @@
     throw new UnsupportedOperationException();
   }
 
-  public Enumeration getLocales() {
+  public Enumeration<Locale> getLocales() {
     throw new UnsupportedOperationException();
   }
 
@@ -117,11 +117,11 @@
     throw new UnsupportedOperationException();
   }
 
-  public Map getParameterMap() {
+  public Map<String, String[]> getParameterMap() {
     throw new UnsupportedOperationException();
   }
 
-  public Enumeration getParameterNames() {
+  public Enumeration<String> getParameterNames() {
     throw new UnsupportedOperationException();
   }