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 4d77702d Javadoc: Use {@code ...}
4d77702d is described below

commit 4d77702d9eba27878b9644e1310f4a069c3538e4
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Jan 17 09:31:25 2024 -0500

    Javadoc: Use {@code ...}
---
 core/src/main/java/org/apache/commons/jelly/JellyContext.java       | 2 +-
 .../org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java    | 2 +-
 .../main/java/org/apache/commons/jelly/impl/DynamicTagLibrary.java  | 4 ++--
 core/src/main/java/org/apache/commons/jelly/parser/XMLParser.java   | 6 +++---
 .../java/org/apache/commons/jelly/tags/core/BaseClassLoaderTag.java | 2 +-
 core/src/main/java/org/apache/commons/jelly/tags/core/BreakTag.java | 2 +-
 .../main/java/org/apache/commons/jelly/tags/ant/GrantProject.java   | 4 ++--
 .../src/test/java/org/apache/commons/digester/rss/Channel.java      | 6 +++---
 .../src/main/java/org/apache/commons/jelly/tags/fmt/BundleTag.java  | 2 +-
 .../main/java/org/apache/commons/jelly/tags/fmt/SetLocaleTag.java   | 4 ++--
 .../main/java/org/apache/commons/jelly/tags/fmt/TimeZoneTag.java    | 2 +-
 .../java/org/apache/commons/jelly/tags/soap/StringInputStream.java  | 2 +-
 12 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/core/src/main/java/org/apache/commons/jelly/JellyContext.java 
b/core/src/main/java/org/apache/commons/jelly/JellyContext.java
index 6fb2a638..e16dc5ab 100644
--- a/core/src/main/java/org/apache/commons/jelly/JellyContext.java
+++ b/core/src/main/java/org/apache/commons/jelly/JellyContext.java
@@ -919,7 +919,7 @@ public class JellyContext {
      * Sets the class loader to be used for instantiating application objects
      * when required.
      *
-     * @param classLoader The new class loader to use, or <code>null</code>
+     * @param classLoader The new class loader to use, or {@code null}
      *  to revert to the standard rules
      */
     public void setClassLoader(ClassLoader classLoader) {
diff --git 
a/core/src/main/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java
 
b/core/src/main/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java
index 8feb817a..b4b7b818 100644
--- 
a/core/src/main/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java
+++ 
b/core/src/main/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java
@@ -134,7 +134,7 @@ public class DefaultTagLibraryResolver implements 
TagLibraryResolver {
      * Sets the class loader to be used for instantiating application objects
      * when required.
      *
-     * @param classLoader The new class loader to use, or <code>null</code>
+     * @param classLoader The new class loader to use, or {@code null}
      *  to revert to the standard rules
      */
     public void setClassLoader(ClassLoader classLoader) {
diff --git 
a/core/src/main/java/org/apache/commons/jelly/impl/DynamicTagLibrary.java 
b/core/src/main/java/org/apache/commons/jelly/impl/DynamicTagLibrary.java
index a94e9d55..674c1a34 100644
--- a/core/src/main/java/org/apache/commons/jelly/impl/DynamicTagLibrary.java
+++ b/core/src/main/java/org/apache/commons/jelly/impl/DynamicTagLibrary.java
@@ -100,7 +100,7 @@ public class DynamicTagLibrary extends TagLibrary {
      *
      * @param name The tag name
      * @return The script associated with <code>name</code>, or
-     *         <code>null</code> if the tag doesn't exist or isn't a script
+     *         {@code null} if the tag doesn't exist or isn't a script
      */
     public Script getDynamicTag(String name) {
         Object result = templates.get(name);
@@ -114,7 +114,7 @@ public class DynamicTagLibrary extends TagLibrary {
      * parent libraries will be searched.
      * </p>
      * @param name The tag name
-     * @return The tag library containing the named tag, or <code>null</code>
+     * @return The tag library containing the named tag, or {@code null}
      *         if the tag is not registered.
      */
     public DynamicTagLibrary find(String name) {
diff --git a/core/src/main/java/org/apache/commons/jelly/parser/XMLParser.java 
b/core/src/main/java/org/apache/commons/jelly/parser/XMLParser.java
index 535b79da..aebb370e 100644
--- a/core/src/main/java/org/apache/commons/jelly/parser/XMLParser.java
+++ b/core/src/main/java/org/apache/commons/jelly/parser/XMLParser.java
@@ -330,7 +330,7 @@ public class XMLParser extends DefaultHandler {
 
     /**
      * Return the currently mapped namespace URI for the specified prefix,
-     * if any; otherwise return <code>null</code>.  These mappings come and
+     * if any; otherwise return {@code null}.  These mappings come and
      * go dynamically as the document is parsed.
      *
      * @param prefix Prefix to look up
@@ -387,7 +387,7 @@ public class XMLParser extends DefaultHandler {
      * Sets the class loader to be used for instantiating application objects
      * when required.
      *
-     * @param classLoader The new class loader to use, or <code>null</code>
+     * @param classLoader The new class loader to use, or {@code null}
      *  to revert to the standard rules
      */
     public void setClassLoader(ClassLoader classLoader) {
@@ -510,7 +510,7 @@ public class XMLParser extends DefaultHandler {
 
     /**
      * Return the SAXParser we will use to parse the input stream.  If there
-     * is a problem creating the parser, return <code>null</code>.
+     * is a problem creating the parser, return {@code null}.
      */
     public SAXParser getParser() {
         // Return the parser we already created (if any)
diff --git 
a/core/src/main/java/org/apache/commons/jelly/tags/core/BaseClassLoaderTag.java 
b/core/src/main/java/org/apache/commons/jelly/tags/core/BaseClassLoaderTag.java
index b0c51269..90713896 100644
--- 
a/core/src/main/java/org/apache/commons/jelly/tags/core/BaseClassLoaderTag.java
+++ 
b/core/src/main/java/org/apache/commons/jelly/tags/core/BaseClassLoaderTag.java
@@ -57,7 +57,7 @@ public abstract class BaseClassLoaderTag extends TagSupport {
      * Sets the class loader to be used for instantiating application objects
      * when required.
      *
-     * @param classLoader The new class loader to use, or <code>null</code>
+     * @param classLoader The new class loader to use, or {@code null}
      *  to revert to the standard rules
      */
     public void setClassLoader(ClassLoader classLoader) {
diff --git 
a/core/src/main/java/org/apache/commons/jelly/tags/core/BreakTag.java 
b/core/src/main/java/org/apache/commons/jelly/tags/core/BreakTag.java
index aa22a5cb..09fad42e 100644
--- a/core/src/main/java/org/apache/commons/jelly/tags/core/BreakTag.java
+++ b/core/src/main/java/org/apache/commons/jelly/tags/core/BreakTag.java
@@ -61,7 +61,7 @@ public class BreakTag extends TagSupport {
 
     /**
      * Sets the Jelly expression to evaluate (optional).
-     * If this is <code>null</code> or evaluates to
+     * If this is {@code null} or evaluates to
      * {@code true} then the loop is terminated
      *
      * @param test the Jelly expression to evaluate
diff --git 
a/jelly-tags/ant/src/main/java/org/apache/commons/jelly/tags/ant/GrantProject.java
 
b/jelly-tags/ant/src/main/java/org/apache/commons/jelly/tags/ant/GrantProject.java
index 6c95222d..9052f49a 100644
--- 
a/jelly-tags/ant/src/main/java/org/apache/commons/jelly/tags/ant/GrantProject.java
+++ 
b/jelly-tags/ant/src/main/java/org/apache/commons/jelly/tags/ant/GrantProject.java
@@ -69,7 +69,7 @@ public class GrantProject extends Project {
     /** Install a <code>PropsHandler</code> delegate.
      *
      *  @param propsHandler The <code>PropsHandler</code> to install,
-     *         or <code>null</code> to remove any currently installed
+     *         or {@code null} to remove any currently installed
      *         <code>PropsHandler</code>.
      */
     public void setPropsHandler(PropsHandler propsHandler) {
@@ -79,7 +79,7 @@ public class GrantProject extends Project {
     /** Retrieve the currently installed <code>PropsHandler</code>.
      *
      *  @return The currently installed <code>PropsHandler</code>,
-     *          or <code>null</code> if no <code>PropsHandler</code>
+     *          or {@code null} if no <code>PropsHandler</code>
      *          had yet to be installed.
      */
     public PropsHandler getPropsHandler() {
diff --git 
a/jelly-tags/betwixt/src/test/java/org/apache/commons/digester/rss/Channel.java 
b/jelly-tags/betwixt/src/test/java/org/apache/commons/digester/rss/Channel.java
index 549f6f8d..c81fafce 100644
--- 
a/jelly-tags/betwixt/src/test/java/org/apache/commons/digester/rss/Channel.java
+++ 
b/jelly-tags/betwixt/src/test/java/org/apache/commons/digester/rss/Channel.java
@@ -411,7 +411,7 @@ public class Channel implements Serializable {
      * to the specified output stream, with the specified character encoding.
      *
      * @param stream The output stream to write to
-     * @param encoding The character encoding to declare, or <code>null</code>
+     * @param encoding The character encoding to declare, or {@code null}
      *  for no declaration
      *
      * @throws UnsupportedEncodingException if the named encoding
@@ -450,7 +450,7 @@ public class Channel implements Serializable {
      * to the specified writer, indicating the specified character encoding.
      *
      * @param writer The writer to render output to
-     * @param encoding The character encoding to declare, or <code>null</code>
+     * @param encoding The character encoding to declare, or {@code null}
      *  for no declaration
      */
     public void render(Writer writer, String encoding) {
@@ -480,7 +480,7 @@ public class Channel implements Serializable {
      * to the specified writer, indicating the specified character encoding.
      *
      * @param writer The writer to render output to
-     * @param encoding The character encoding to declare, or <code>null</code>
+     * @param encoding The character encoding to declare, or {@code null}
      *  for no declaration
      */
     public void render(PrintWriter writer, String encoding) {
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 a1d0c4b7..4629c33a 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
@@ -239,7 +239,7 @@ public class BundleTag extends TagSupport {
      * @param pref the preferred locale
      * @param cl   classloader used to find resource bundle
      *
-     * @return the requested resource bundle, or <code>null</code> if no 
resource
+     * @return the requested resource bundle, or {@code null} if no resource
      * bundle with the given base name exists or if there is no exact- or
      * language-match between the preferred locale and the locale of
      * the bundle returned by java.util.ResourceBundle.getBundle().
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 cc1ede60..7c3dc318 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
@@ -174,7 +174,7 @@ public class SetLocaleTag extends TagSupport {
      * parameter
      *
      * @return the locale specified by the named scoped attribute or context
-     * configuration parameter, or <code>null</code> if no scoped attribute or
+     * configuration parameter, or {@code null} if no scoped attribute or
      * configuration parameter with the given name exists
      */
     static Locale getLocale(JellyContext jc, String name) {
@@ -279,7 +279,7 @@ public class SetLocaleTag extends TagSupport {
      * @param avail the available formatting locales
      *
      * @return Available locale that best matches the given preferred locale,
-     * or <code>null</code> if no match exists
+     * or {@code null} if no match exists
      */
     private static Locale findFormattingMatch(Locale pref, Locale[] avail) {
         Locale match = null;
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 e30738dc..5383b446 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
@@ -105,7 +105,7 @@ public class TimeZoneTag extends TagSupport {
      * @param fromTag the action for which the time zone needs to be
      * determined
      *
-     * @return the time zone, or <code>null</code> if the given action is not
+     * @return the time zone, or {@code null} if the given action is not
      * nested inside a &lt;timeZone&gt; action and no time zone configuration
      * setting exists
      */
diff --git 
a/jelly-tags/soap/src/main/java/org/apache/commons/jelly/tags/soap/StringInputStream.java
 
b/jelly-tags/soap/src/main/java/org/apache/commons/jelly/tags/soap/StringInputStream.java
index c2af5cdc..a7da6948 100644
--- 
a/jelly-tags/soap/src/main/java/org/apache/commons/jelly/tags/soap/StringInputStream.java
+++ 
b/jelly-tags/soap/src/main/java/org/apache/commons/jelly/tags/soap/StringInputStream.java
@@ -37,7 +37,7 @@ public class StringInputStream
     /**
      * Composes a stream from a String
      *
-     * @param source The string to read from. Must not be <code>null</code>.
+     * @param source The string to read from. Must not be {@code null}.
      */
     public StringInputStream( String source )
     {

Reply via email to