Suppress deprecation warnings on the implementation classes.
authorbillbarker <billbarker@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 19 May 2006 07:33:35 +0000 (07:33 +0000)
committerbillbarker <billbarker@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 19 May 2006 07:33:35 +0000 (07:33 +0000)
Sun's brain-dead compiler seems to require that I put these at Class level instead of method level.  I'm more than happy to change it if they ever manage to pull their collective heads out of their collective a**s.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@407740 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/connector/RequestFacade.java
java/org/apache/catalina/connector/ResponseFacade.java

index 2a5e0ae..458cc9b 100644 (file)
@@ -46,6 +46,7 @@ import org.apache.catalina.security.SecurityUtil;
  * @version $Revision: 303900 $ $Date: 2005-04-30 00:22:29 +0200 (sam., 30 avr. 2005) $\r
  */\r
 \r
+@SuppressWarnings("deprecation")\r
 public class RequestFacade implements HttpServletRequest {\r
         \r
         \r
@@ -570,7 +571,6 @@ public class RequestFacade implements HttpServletRequest {
         }\r
     }\r
 \r
-\r
     public String getRealPath(String path) {\r
 \r
         if (request == null) {\r
index 90bb95c..5a8fc48 100644 (file)
@@ -40,6 +40,7 @@ import org.apache.catalina.security.SecurityUtil;
  * @author Jean-Francois Arcand\r
  * @version $Revision: 303900 $ $Date: 2005-04-30 00:22:29 +0200 (sam., 30 avr. 2005) $\r
  */\r
+@SuppressWarnings("deprecation")\r
 public class ResponseFacade \r
     implements HttpServletResponse {\r
 \r