fixed code generation

This commit is contained in:
Eric J. Bowersox 2004-07-16 07:46:17 +00:00
parent 6555709ca2
commit ad3af636d7

View File

@ -30,7 +30,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
*-------------------------------------------------------------------------------- *--------------------------------------------------------------------------------
*/ */
private String extra = null; private String m_extra = null;
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Overrides from class TagSupport * Overrides from class TagSupport
@ -45,14 +45,14 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
{ // write out what we came here to accomplish { // write out what we came here to accomplish
JspWriter out = pageContext.getOut(); JspWriter out = pageContext.getOut();
out.write("<body bgcolor=\"" + html.getColor(FRAME_BACKGROUND) + "\""); out.write("<body bgcolor=\"" + html.getColor(FRAME_BACKGROUND) + "\"");
if (extra!=null) if (m_extra!=null)
out.write(" " + extra); out.write(" " + m_extra);
out.write(">"); out.write(">");
} // end try } // end try
catch (IOException e) catch (IOException e)
{ // convert the I/O error into something the servlet engine can deal with { // convert the I/O error into something the servlet engine can deal with
throw new JspTagException("error writing <body> tag - " + e.getMessage()); throw new JspTagException("error writing <body/> tag - " + e.getMessage());
} // end catch } // end catch
@ -81,7 +81,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
public void release() public void release()
{ {
super.release(); super.release();
extra = null; m_extra = null;
} // end release } // end release
@ -92,7 +92,7 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors
public void setExtra(String s) public void setExtra(String s)
{ {
extra = s; m_extra = s;
} // end setExtra } // end setExtra