You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/07/13 16:44:42 UTC

(commons-jelly) branch master updated: Remove redundant keywords

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jelly.git


The following commit(s) were added to refs/heads/master by this push:
     new c7391dfe Remove redundant keywords
c7391dfe is described below

commit c7391dfef8d20ce07cf804f3fb532096181512b4
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sun Jul 13 12:44:38 2025 -0400

    Remove redundant keywords
---
 core/src/main/java/org/apache/commons/jelly/Tag.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/core/src/main/java/org/apache/commons/jelly/Tag.java b/core/src/main/java/org/apache/commons/jelly/Tag.java
index c5237611..86616cac 100644
--- a/core/src/main/java/org/apache/commons/jelly/Tag.java
+++ b/core/src/main/java/org/apache/commons/jelly/Tag.java
@@ -31,26 +31,26 @@ public interface Tag {
      * @throws MissingAttributeException Thrown on error.
      * @throws JellyTagException Thrown on error.
      */
-    public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException;
+    void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException;
 
     /**
      * @return the body of the tag.
      */
-    public Script getBody();
+    Script getBody();
 
     /**
      * Gets the context in which the tag will be run.
      *
      * @return the context in which the tag will be run
      */
-    public JellyContext getContext();
+    JellyContext getContext();
 
     /**
      * Gets the parent of this tag.
      *
      * @return the parent of this tag.
      */
-    public Tag getParent();
+    Tag getParent();
 
     /**
      * Gets the TagLibrary, null if this is an unrecognized tag (for example, a StaticTag)
@@ -68,14 +68,14 @@ public interface Tag {
      * @param output XML output stream.
      * @throws JellyTagException Thrown on error.
      */
-    public void invokeBody(XMLOutput output) throws JellyTagException;
+    void invokeBody(XMLOutput output) throws JellyTagException;
 
     /**
      * Sets the body of the tag.
      *
      * @param body the body of the tag.
      */
-    public void setBody(Script body);
+    void setBody(Script body);
 
     /**
      * Sets the context in which the tag will be run.
@@ -83,14 +83,14 @@ public interface Tag {
      * @param context the context in which the tag will be run.
      * @throws JellyTagException Thrown on error.
      */
-    public void setContext(JellyContext context) throws JellyTagException;
+    void setContext(JellyContext context) throws JellyTagException;
 
     /**
      * Sets the parent of this tag.
      *
      * @param parent the parent of this tag.
      */
-    public void setParent(Tag parent);
+    void setParent(Tag parent);
 
     /**
      * Sets the tag library. Defaults to do nothing.