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 2026/04/24 13:12:50 UTC
(commons-text) branch master updated: Javadoc: Use {@code}
This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git
The following commit(s) were added to refs/heads/master by this push:
new c2f57309 Javadoc: Use {@code}
c2f57309 is described below
commit c2f57309d68da278a7ed05c196f0be4970fd402e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Apr 24 09:12:43 2026 -0400
Javadoc: Use {@code}
---
src/main/java/org/apache/commons/text/StrSubstitutor.java | 2 +-
src/main/java/org/apache/commons/text/StringSubstitutor.java | 2 +-
src/main/java/org/apache/commons/text/lookup/ConstantStringLookup.java | 2 +-
.../java/org/apache/commons/text/lookup/InterpolatorStringLookup.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/text/StrSubstitutor.java b/src/main/java/org/apache/commons/text/StrSubstitutor.java
index 8e8c23e2..2ea2a905 100644
--- a/src/main/java/org/apache/commons/text/StrSubstitutor.java
+++ b/src/main/java/org/apache/commons/text/StrSubstitutor.java
@@ -833,7 +833,7 @@ public class StrSubstitutor {
* @param buf the buffer where the substitution is occurring, not null.
* @param startPos the start position of the variable including the prefix, valid.
* @param endPos the end position of the variable including the suffix, valid.
- * @return The variable's value or <strong>null</strong> if the variable is unknown.
+ * @return The variable's value or {@code null} if the variable is unknown.
*/
protected String resolveVariable(final String variableName,
final StrBuilder buf,
diff --git a/src/main/java/org/apache/commons/text/StringSubstitutor.java b/src/main/java/org/apache/commons/text/StringSubstitutor.java
index 3667e915..9fce66de 100644
--- a/src/main/java/org/apache/commons/text/StringSubstitutor.java
+++ b/src/main/java/org/apache/commons/text/StringSubstitutor.java
@@ -1137,7 +1137,7 @@ public class StringSubstitutor {
* @param buf the buffer where the substitution is occurring, not null.
* @param startPos the start position of the variable including the prefix, valid.
* @param endPos the end position of the variable including the suffix, valid.
- * @return The variable's value or <strong>null</strong> if the variable is unknown.
+ * @return The variable's value or {@code null} if the variable is unknown.
*/
protected String resolveVariable(final String variableName, final TextStringBuilder buf, final int startPos,
final int endPos) {
diff --git a/src/main/java/org/apache/commons/text/lookup/ConstantStringLookup.java b/src/main/java/org/apache/commons/text/lookup/ConstantStringLookup.java
index ddd95e03..67c11243 100644
--- a/src/main/java/org/apache/commons/text/lookup/ConstantStringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/ConstantStringLookup.java
@@ -106,7 +106,7 @@ class ConstantStringLookup extends AbstractStringLookup {
* the field.
*
* @param key the name of the variable to be resolved.
- * @return The value of this variable or <strong>null</strong> if it cannot be resolved.
+ * @return The value of this variable or {@code null} if it cannot be resolved.
*/
@Override
public synchronized String lookup(final String key) {
diff --git a/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java b/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
index 9027c5d5..0232b0db 100644
--- a/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
@@ -114,7 +114,7 @@ final class InterpolatorStringLookup extends AbstractStringLookup {
* associated lookup object cannot resolve this variable, the default lookup object will be used.
*
* @param key the name of the variable whose value is to be looked up.
- * @return The value of this variable or <strong>null</strong> if it cannot be resolved.
+ * @return The value of this variable or {@code null} if it cannot be resolved.
*/
@Override
public String lookup(String key) {