You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/02/17 11:28:12 UTC
svn commit: r628468 -
/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java
Author: skitching
Date: Sun Feb 17 02:28:11 2008
New Revision: 628468
URL: http://svn.apache.org/viewvc?rev=628468&view=rev
Log:
Fix theoretical bug with callers that use a deprecated method on parent type.
Modified:
myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java
Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java?rev=628468&r1=628467&r2=628468&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/requestParameterProvider/RequestParameterResponseWrapper.java Sun Feb 17 02:28:11 2008
@@ -44,4 +44,17 @@
return super.encodeURL(url);
}
+
+ /**
+ * Override deprecated form of this method, in case users call it.
+ * <p>
+ * The inherited implementation of this method calls super.encodeUrl(url)
+ * directly, which would bypass our custom code.
+ *
+ * @deprecated
+ */
+ public String encodeUrl(String url)
+ {
+ return encodeURL(url);
+ }
}