From: markt Date: Thu, 21 Oct 2010 16:12:42 +0000 (+0000) Subject: Allow Checkstyle's unused imports test to be used with the api classes X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=76fdb534ae1b51983d4fb7228cdcb1193ea249d1;p=tomcat7.0 Allow Checkstyle's unused imports test to be used with the api classes git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1026051 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/javax/servlet/ServletRequest.java b/java/javax/servlet/ServletRequest.java index f4051795f..acde691ef 100644 --- a/java/javax/servlet/ServletRequest.java +++ b/java/javax/servlet/ServletRequest.java @@ -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 BufferedReader 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 diff --git a/java/javax/servlet/ServletResponse.java b/java/javax/servlet/ServletResponse.java index b8bbe654a..006d7bd94 100644 --- a/java/javax/servlet/ServletResponse.java +++ b/java/javax/servlet/ServletResponse.java @@ -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 PrintWriter object that can return character data * to the client - * @exception UnsupportedEncodingException + * @exception java.io.UnsupportedEncodingException * if the character encoding returned by * getCharacterEncoding cannot be used * @exception IllegalStateException