This commit is riddled with tabs.

[EMAIL PROTECTED] wrote:
...
--- VelocityActionEvent.java 28 Sep 2003 17:35:45 -0000 1.19
+++ VelocityActionEvent.java 5 May 2004 12:10:14 -0000 1.20
@@ -90,6 +90,9 @@
private static final Class [] methodParams
= new Class [] { RunData.class, Context.class };
+ /** Indicates whether or not this module has been initialized. */
+ protected boolean initialized = false;

You inserted a tab character here.


+
/**
* You need to implement this in your classes that extend this
* class.
@@ -101,6 +104,14 @@
throws Exception;
/**
+ * Provides a means of initializing the module.
+ * + * @throws Exception a generic exception.
+ */
+ protected abstract void initialize()

And here.


+ throws Exception;

And here.


  +
  +    /**
        * This overrides the default Action.perform() to execute the
        * doEvent() method.  If that fails, then it will execute the
        * doPerform() method instead.
  @@ -113,6 +124,10 @@
       {
           try
           {

And below.


+ if(!initialized)

Should be written "if (condition)" (note space between keyword and parens) to differentiate between method invocation and flow control.


  +             {
  +                     initialize();
  +             }
               executeEvents(data, TurbineVelocity.getContext(data));
           }
           catch (NoSuchMethodException e)
...
--- VelocityAction.java 28 Sep 2003 17:35:03 -0000 1.7
+++ VelocityAction.java 5 May 2004 12:10:14 -0000 1.8
@@ -83,6 +83,17 @@
{
doPerform(data, getContext(data));
}
+
+ /**
+ * Initialize the module.
+ * + * @throws Exception a generic exception.
+ */
+ public void initialize()
+ throws Exception
+ {
+ initialized = true;
+ }
...

Many more tabs here.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to