Update of /cvsroot/webmacro/webmacro/src/org/webmacro/directive
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12210/src/org/webmacro/directive
Modified Files:
IfDirective.java
Log Message:
Checkstyle: organise imports, javadoc
Index: IfDirective.java
===================================================================
RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/directive/IfDirective.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** IfDirective.java 12 Jun 2003 00:47:44 -0000 1.16
--- IfDirective.java 20 Mar 2008 11:54:42 -0000 1.17
***************
*** 23,27 ****
package org.webmacro.directive;
! import org.webmacro.*;
import org.webmacro.engine.Block;
import org.webmacro.engine.BuildContext;
--- 23,33 ----
package org.webmacro.directive;
! import java.io.IOException;
!
! import org.webmacro.Context;
! import org.webmacro.FastWriter;
! import org.webmacro.Macro;
! import org.webmacro.PropertyException;
! import org.webmacro.TemplateVisitor;
import org.webmacro.engine.Block;
import org.webmacro.engine.BuildContext;
***************
*** 29,40 ****
import org.webmacro.engine.Expression;
- import java.io.IOException;
-
/**
- * Syntax:
- * #if (condition) { block }
- * [ #elseif (condition) { block } ] *
- * [ #else { block } ]
- *
* IfDirective implements a WebMacro directive for an if..elseif..else
* control structure. This directive is more complicated than most others
--- 35,39 ----
***************
*** 43,46 ****
--- 42,52 ----
* Therefore, the build() method is complicated, but the write() method
* is fairly simple.
+ *
+ * Syntax:
+ * <pre>
+ * #if (condition) { block }
+ * [ #elseif (condition) { block } ] *
+ * [ #else { block } ]
+ * </pre>
*/
|