Allow Checkstyle's unused imports test to be used with the api classes
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 21 Oct 2010 16:12:42 +0000 (16:12 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 21 Oct 2010 16:12:42 +0000 (16:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1026051 13f79535-47bb-0310-9956-ffa450edef68

java/javax/servlet/ServletRequest.java
java/javax/servlet/ServletResponse.java

index f405179..acde691 100644 (file)
@@ -18,7 +18,6 @@ package javax.servlet;
 
 import java.io.BufferedReader;
 import java.io.IOException;
-import java.io.UnsupportedEncodingException;
 import java.util.Enumeration;
 import java.util.Locale;
 import java.util.Map;
@@ -250,7 +249,7 @@ public interface ServletRequest {
      * or {@link #getInputStream} may be called to read the body, not both.
      * 
      * @return a <code>BufferedReader</code> containing the body of the request
-     * @exception UnsupportedEncodingException
+     * @exception java.io.UnsupportedEncodingException
      *                if the character set encoding used is not supported and
      *                the text cannot be decoded
      * @exception IllegalStateException
index b8bbe65..006d7bd 100644 (file)
@@ -18,7 +18,6 @@ package javax.servlet;
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.io.UnsupportedEncodingException;
 import java.util.Locale;
 
 /**
@@ -121,7 +120,7 @@ public interface ServletResponse {
      * 
      * @return a <code>PrintWriter</code> object that can return character data
      *         to the client
-     * @exception UnsupportedEncodingException
+     * @exception java.io.UnsupportedEncodingException
      *                if the character encoding returned by
      *                <code>getCharacterEncoding</code> cannot be used
      * @exception IllegalStateException