dion 2004/10/28 16:38:42
Modified: jelly/src/java/org/apache/commons/jelly/tags/core
MuteTag.java
Log:
Checkstyle stuff
Revision Changes Path
1.5 +18 -12
jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/MuteTag.java
Index: MuteTag.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/MuteTag.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MuteTag.java 28 Oct 2004 23:35:18 -0000 1.4
+++ MuteTag.java 28 Oct 2004 23:38:42 -0000 1.5
@@ -32,11 +32,16 @@
*/
public class MuteTag extends TagSupport {
+ /**
+ * Create an instance
+ */
public MuteTag() {
- super();
}
-
+ /**
+ * Invoke the body and produce no output.
+ * @param output tag output, which is ignored.
+ */
public void doTag(XMLOutput output) throws JellyTagException {
super.invokeBody(new MuteXMLOutput());
}
@@ -45,14 +50,15 @@
* An XMLOutput which really outputs nothing, in particular, avoids calling
* toString() in objects returned...
*/
- static class MuteXMLOutput extends XMLOutput {
- public MuteXMLOutput() {
- super(new DefaultHandler());
- }
+ static class MuteXMLOutput extends XMLOutput {
+ public MuteXMLOutput() {
+ super(new DefaultHandler());
+ }
- public void objectData(Object o) {
- // do nothing, not even invoke the toString!
- }
- }
-
+ /**
+ * Do nothing, not even invoke the toString!
+ */
+ public void objectData(Object o) {
+ }
+ } // class MuteXMLOutput
} // class TagSupport
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]