rleland 2002/10/26 22:56:59 Modified: src/share/org/apache/struts/action Action.java Log: Use errors.isEmpty() instead of errors.empty(). Revision Changes Path 1.49 +6 -6 jakarta-struts/src/share/org/apache/struts/action/Action.java Index: Action.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/Action.java,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- Action.java 14 Oct 2002 18:16:18 -0000 1.48 +++ Action.java 27 Oct 2002 05:56:59 -0000 1.49 @@ -722,7 +722,7 @@ ActionErrors errors) { // Remove any error messages attribute if none are required - if ((errors == null) || errors.empty()) { + if ((errors == null) || errors.isEmpty()) { request.removeAttribute(ERROR_KEY); return; } @@ -747,7 +747,7 @@ ActionMessages messages) { // Remove any messages attribute if none are required - if ((messages == null) || messages.empty()) { + if ((messages == null) || messages.isEmpty()) { request.removeAttribute(MESSAGE_KEY); return; }
-- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>