Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51154
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 6 May 2011 08:05:42 +0000 (08:05 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 6 May 2011 08:05:42 +0000 (08:05 +0000)
Add missing comments to @deprecated code
Patch provided by sebb

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

java/javax/servlet/jsp/el/ELException.java
java/javax/servlet/jsp/el/ELParseException.java
java/javax/servlet/jsp/el/Expression.java
java/javax/servlet/jsp/el/ExpressionEvaluator.java
java/javax/servlet/jsp/el/FunctionMapper.java
java/javax/servlet/jsp/el/VariableResolver.java
webapps/docs/changelog.xml

index f6bdd5c..cf3bd19 100644 (file)
@@ -22,7 +22,7 @@ package javax.servlet.jsp.el;
  * evaluation of the evaluator.
  * 
  * @since 2.0
- * @deprecated
+ * @deprecated As of JSP 2.1, replaced by javax.el.ELException
  */
 @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
 public class ELException extends Exception {
index 35e4513..fdb0d1e 100644 (file)
@@ -22,7 +22,7 @@ package javax.servlet.jsp.el;
  * Represents a parsing error encountered while parsing an EL expression.
  *
  * @since 2.0
- * @deprecated
+ * @deprecated As of JSP 2.1, replaced by javax.el.ELException
  */
 @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
 public class ELParseException extends ELException {
index b1ceb35..8d446aa 100644 (file)
@@ -30,7 +30,7 @@ package javax.servlet.jsp.el;
  * where ELParseException exceptions are raised. </p>
  *
  * @since 2.0
- * @deprecated
+ * @deprecated As of JSP 2.1, replaced by javax.el.ValueExpression
  */
 @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
 public abstract class Expression {
index 785c6f8..52d41de 100644 (file)
@@ -52,7 +52,7 @@ package javax.servlet.jsp.el;
  * </p>
  * 
  * @since 2.0
- * @deprecated
+ * @deprecated As of JSP 2.1, replaced by javax.el.ExpressionFactory
  */
 @SuppressWarnings("dep-ann")
 // TCK signature test fails with annotation
index 5b8b83d..3a8e940 100644 (file)
@@ -24,7 +24,7 @@ package javax.servlet.jsp.el;
  * information to resolve the map. </p>
  *
  * @since 2.0
- * @deprecated
+ * @deprecated As of JSP 2.1, replaced by javax.el.FunctionMapper
  */
 @SuppressWarnings("dep-ann") // TCK signature test fails with annotation
 public interface FunctionMapper {
index 14f31d9..db0ef59 100644 (file)
@@ -30,7 +30,7 @@ package javax.servlet.jsp.el;
  * </p>
  * 
  * @since 2.0
- * @deprecated
+ * @deprecated As of JSP 2.1, replaced by javax.el.ELResolver
  */
 @SuppressWarnings("dep-ann")
 // TCK signature test fails with annotation
index 95bdc39..91ac9d5 100644 (file)
         <bug>51154</bug>: Remove duplicate @deprecated tags in ServletContext
         Javadoc. Patch provided by sebb. (markt)
       </fix>
+      <fix>
+        <bug>51155</bug>: Add comments to @deprecated tags that have none. Patch
+        provided by sebb. (markt)
+      </fix>
     </changelog>
   </subsection>
 </section>