#22 Whitespace/code cleanup (template pkg-2)

closed-accepted
Nicholas Cull
None
5
2001-06-24
2001-06-17
Dan Milstein
No

Cleaned up the whitespace and indenting for (some of
the) the java files in the freemarker.template
package. Converted all tabs to spaces, and regularized
to a 4-space indent rule. Other minor code cleanups
listed below (wrapped code + comments to be < 80
characters, converted some import foo.* to more
specific import statements, etc.)

GenericEventMulticaster: tabs -> spaces, expanded
import java.util.*

SimpleHash: tabs->spaces, wrapped some coded, added
some <tt> tags to javadoc, cleaned up import
statements.

SimpleList: cleaned up javadoc, renamed a variable,
wrapped some code, added a few spaces, made import
statements specific.

SimpleScalar: tabs -> spaces, cleaned up javadoc,
consistent indents, added this.useBoolean = false to
setValue(String) (because it's a public method),
renamed value to stringValue (consider removing
setValue??)

Template: wrapping comments + code. Cleaned up
imports.

TemplateCache: tabs -> spaces.

TemplateException: tabs -> spaces.

TemplateMethodModel: wrapped comment. Cleaned up
import.

TemplateModelException: tabs -> spaces.

TemplateProcessor: specified import. Added <tt>'s to
javadoc.

TemplateServletUtils: tabs -> spaces. Cleaned up
imports.

TemplateTransformModel: removed extraneous import.

UpdateTimer: tabs -> spaces.

Discussion

  • Dan Milstein
    Dan Milstein
    2001-06-17

    Whitespace/code cleanups for template-2

     
    Attachments
  • Nicholas Cull
    Nicholas Cull
    2001-06-24

    Logged In: YES
    user_id=137221

    Patch checked in 24 June 2001.

     
  • Nicholas Cull
    Nicholas Cull
    2001-06-24

    • assigned_to: nobody --> run2000
    • status: open --> closed-accepted