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
commit be90a556925d45e115276c7b808c817d49b7988d Author: Gary Gregory <[email protected]> AuthorDate: Sun Jan 4 10:34:26 2026 -0500 Remove dead comments --- .../org/apache/commons/jelly/tags/Resources.java | 6 ------ .../apache/commons/jelly/tags/fmt/BundleTag.java | 21 --------------------- .../commons/jelly/tags/fmt/FormatDateTag.java | 3 --- .../apache/commons/jelly/tags/fmt/SetLocaleTag.java | 3 --- .../apache/commons/jelly/tags/fmt/TimeZoneTag.java | 12 ------------ 5 files changed, 45 deletions(-) diff --git a/core/src/main/java/org/apache/commons/jelly/tags/Resources.java b/core/src/main/java/org/apache/commons/jelly/tags/Resources.java index 1ba0dbba..af12ec9b 100644 --- a/core/src/main/java/org/apache/commons/jelly/tags/Resources.java +++ b/core/src/main/java/org/apache/commons/jelly/tags/Resources.java @@ -40,9 +40,6 @@ import java.util.ResourceBundle; */ public class Resources { - //********************************************************************* - // Static data - /** The location of our resources. */ private static final String RESOURCE_LOCATION = "org.apache.commons.jelly.tags.Resources"; @@ -51,9 +48,6 @@ public class Resources { private static ResourceBundle rb = ResourceBundle.getBundle(RESOURCE_LOCATION); - //********************************************************************* - // Public static methods - /** Gets a message with no arguments. */ public static String getMessage(final String name) throws MissingResourceException { diff --git a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/BundleTag.java b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/BundleTag.java index 46e305f1..00b2d9d0 100644 --- a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/BundleTag.java +++ b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/BundleTag.java @@ -35,14 +35,8 @@ import org.apache.commons.jelly.expression.Expression; */ public class BundleTag extends TagSupport { - //********************************************************************* - // Private constants - private static final Locale EMPTY_LOCALE = new Locale("", ""); - //********************************************************************* - // Protected state - /* * Gets the resource bundle with the given base name and preferred locale. * @@ -204,34 +198,19 @@ public class BundleTag extends TagSupport { } private Expression basename; // 'basename' attribute - //********************************************************************* - // Private state - private Expression prefix; // 'prefix' attribute - //********************************************************************* - // Constructor and initialization - /** Evaluated basename */ private String ebasename; - //********************************************************************* - // Collaboration with subtags - /** Evaluated prefix */ private String eprefix; private LocalizationContext locCtxt; - //********************************************************************* - // Tag logic - public BundleTag() { } - //********************************************************************* - // Public utility methods - /** * Evaluates this tag after all the tags properties have been initialized. * diff --git a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/FormatDateTag.java b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/FormatDateTag.java index 41596925..8184f90d 100644 --- a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/FormatDateTag.java +++ b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/FormatDateTag.java @@ -303,9 +303,6 @@ public class FormatDateTag extends TagSupport { this.type = type; } - //********************************************************************* - // Private utility methods - /** Setter for property value. * @param value New value of property value. * diff --git a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/SetLocaleTag.java b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/SetLocaleTag.java index 0d1e0a84..a9056273 100644 --- a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/SetLocaleTag.java +++ b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/SetLocaleTag.java @@ -240,9 +240,6 @@ public class SetLocaleTag extends TagSupport { private String scope; - //********************************************************************* - // Public utility methods - /** Creates a new instance of SetLocaleTag */ public SetLocaleTag() { } diff --git a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java index cdb7230a..74019666 100644 --- a/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java +++ b/jelly-tags/fmt/src/main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java @@ -77,20 +77,11 @@ public class TimeZoneTag extends TagSupport { } private TimeZone timeZone; - //********************************************************************* - // Constructor and initialization - private Expression value; // 'value' attribute - //********************************************************************* - // Collaboration with subtags - public TimeZoneTag() { } - //********************************************************************* - // Tag logic - /** * Evaluates this tag after all the tags properties have been initialized. * @@ -118,9 +109,6 @@ public class TimeZoneTag extends TagSupport { invokeBody(output); } - //********************************************************************* - // Package-scoped utility methods - public TimeZone getTimeZone() { return timeZone; }
