From 76fdb534ae1b51983d4fb7228cdcb1193ea249d1 Mon Sep 17 00:00:00 2001 From: markt Date: Thu, 21 Oct 2010 16:12:42 +0000 Subject: [PATCH] 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 --- java/javax/servlet/ServletRequest.java | 3 +-- java/javax/servlet/ServletResponse.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- 2.11.0