dgraham 2003/08/16 11:37:33
Modified: src/share/org/apache/struts/action ActionErrors.java
Log:
Deprecated add() method.
Revision Changes Path
1.12 +6 -5
jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java
Index: ActionErrors.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionErrors.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ActionErrors.java 15 Apr 2003 00:18:45 -0000 1.11
+++ ActionErrors.java 16 Aug 2003 18:37:33 -0000 1.12
@@ -85,7 +85,6 @@
* @author Craig R. McClanahan
* @version $Revision$ $Date$
*/
-
public class ActionErrors extends ActionMessages implements Serializable {
// ----------------------------------------------------- Manifest Constants
@@ -122,6 +121,8 @@
*
* @param property Property name (or ActionErrors.GLOBAL_ERROR)
* @param error The error message to be added
+ * @deprecated Use add(String, ActionMessage) instead. This will be
+ * removed after Struts 1.2.
*/
public void add(String property, ActionError error) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]