Mantis - Resin
Viewing Issue Advanced Details
380 minor always 09-09-05 00:00 11-30-05 14:42
user382  
 
normal  
closed  
fixed  
none    
none 3.0.15  
0000380: In JSP tag compilation, local variables should be instance qualified
RSN-424
In JSP tagfile compilation, local variables should be instance-qualified.

  For example, for a tagfile defining a tag like <x:mytag value=""> the code in the work directory compiles as:

  private java.lang.String value;
  private boolean _jsp_value_isSet;

  public void setValue(java.lang.String value)
  {
    _jsp_value_isSet = true;
    value = value;
  }

>> value = value;

...assigns 'value' to itself; this.value = value. While this applies only to tagfile attributes which use the parameter name 'value', value is a common choice.

Linux, RH WS3, Resin-3.0.10

Notes
(0000439)
ferg   
09-09-05 00:00   
jsp/101g