dgraham 2003/07/26 11:28:03 Modified: src/share/org/apache/struts/taglib TagUtils.java Log: Removed static modifier from methods ported from RequestUtils. Also removed @since tags from individual methods because this whole class is @since Struts 1.2. Revision Changes Path 1.8 +12 -10 jakarta-struts/src/share/org/apache/struts/taglib/TagUtils.java Index: TagUtils.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/TagUtils.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- TagUtils.java 26 Jul 2003 17:40:20 -0000 1.7 +++ TagUtils.java 26 Jul 2003 18:28:03 -0000 1.8 @@ -171,7 +171,7 @@ * @exception JspException if a class cast exception occurs on a * looked-up bean or property */ - public static Map computeParameters( + public Map computeParameters( PageContext pageContext, String paramId, String paramName, @@ -373,7 +373,7 @@ * @exception JspException if an invalid scope name * is requested */ - public static Object lookup(PageContext pageContext, String name, String scopeName) + public Object lookup(PageContext pageContext, String name, String scopeName) throws JspException { if (scopeName == null) { @@ -409,9 +409,8 @@ * @exception JspException if accessing this property causes an * IllegalAccessException, IllegalArgumentException, * InvocationTargetException, or NoSuchMethodException - * @since Struts 1.2 */ - public static Object lookup( + public Object lookup( PageContext pageContext, String name, String property, @@ -464,9 +463,12 @@ * @param pageContext The PageContext for the current page * @param exception The exception to be saved */ - public static void saveException(PageContext pageContext, Throwable exception) { + public void saveException(PageContext pageContext, Throwable exception) { - pageContext.setAttribute(Globals.EXCEPTION_KEY, exception, PageContext.REQUEST_SCOPE); + pageContext.setAttribute( + Globals.EXCEPTION_KEY, + exception, + PageContext.REQUEST_SCOPE); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]