On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Author: pbenedict
Date: Tue Jun 26 23:05:09 2007
New Revision: 551067

URL: http://svn.apache.org/viewvc?view=rev&rev=551067
Log:
STR-1175: Add instance qualification


Why? There doesn't appear to be any local variable for this one to be
confused with.

--
Martin Cooper


Modified:

    
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java

Modified:
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java
URL:
http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java?view=diff&rev=551067&r1=551066&r2=551067

==============================================================================
---
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java
(original)
+++
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java
Tue Jun 26 23:05:09 2007
@@ -59,8 +59,8 @@
     public int doEndTag() throws JspException {
         int inScope = PageContext.PAGE_SCOPE;
         try {
-            if (scope != null) {
-                inScope = TagUtils.getInstance().getScope(scope);
+            if (this.scope != null) {
+                inScope = TagUtils.getInstance().getScope(this.scope);
             }
         } catch (JspException e) {
             log.warn("invalid scope name - defaulting to PAGE_SCOPE", e);



Reply via email to