You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/10/21 18:12:42 UTC
svn commit: r1026051 - in /tomcat/trunk/java/javax/servlet:
ServletRequest.java ServletResponse.java
Author: markt
Date: Thu Oct 21 16:12:42 2010
New Revision: 1026051
URL: http://svn.apache.org/viewvc?rev=1026051&view=rev
Log:
Allow Checkstyle's unused imports test to be used with the api classes
Modified:
tomcat/trunk/java/javax/servlet/ServletRequest.java
tomcat/trunk/java/javax/servlet/ServletResponse.java
Modified: tomcat/trunk/java/javax/servlet/ServletRequest.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ServletRequest.java?rev=1026051&r1=1026050&r2=1026051&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/ServletRequest.java (original)
+++ tomcat/trunk/java/javax/servlet/ServletRequest.java Thu Oct 21 16:12:42 2010
@@ -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
Modified: tomcat/trunk/java/javax/servlet/ServletResponse.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ServletResponse.java?rev=1026051&r1=1026050&r2=1026051&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/ServletResponse.java (original)
+++ tomcat/trunk/java/javax/servlet/ServletResponse.java Thu Oct 21 16:12:42 2010
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org