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-text.git
The following commit(s) were added to refs/heads/master by this push:
new 530bd30f Normalize getter Javadoc
530bd30f is described below
commit 530bd30f0107d047e94e349f58ae387b78126c60
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Oct 31 06:42:16 2023 -0400
Normalize getter Javadoc
---
src/main/java/org/apache/commons/text/StringEscapeUtils.java | 2 +-
src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java | 4 ++--
.../org/apache/commons/text/similarity/IntersectionSimilarity.java | 2 +-
.../java/org/apache/commons/text/jmh/DoubleFormatPerformance.java | 2 +-
src/test/java/org/apache/commons/text/numbers/ParsedDecimalTest.java | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/text/StringEscapeUtils.java
b/src/main/java/org/apache/commons/text/StringEscapeUtils.java
index 5888817e..4574249a 100644
--- a/src/main/java/org/apache/commons/text/StringEscapeUtils.java
+++ b/src/main/java/org/apache/commons/text/StringEscapeUtils.java
@@ -480,7 +480,7 @@ public class StringEscapeUtils {
public static final CharSequenceTranslator UNESCAPE_XSI = new
XsiUnescaper();
/**
- * Get a {@link Builder}.
+ * Gets a {@link Builder}.
* @param translator the text translator
* @return {@link Builder}
*/
diff --git
a/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
b/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
index 5ee53ae1..5c43bab0 100644
--- a/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
+++ b/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
@@ -310,7 +310,7 @@ public final class StringLookupFactory {
}
/**
- * Get the default string lookups map.
+ * Gets the default string lookups map.
* @return default string lookups map
*/
Map<String, StringLookup> getDefaultStringLookups() {
@@ -556,7 +556,7 @@ public final class StringLookupFactory {
}
/**
- * Get a string suitable for use as a key in the string lookup map.
+ * Gets a string suitable for use as a key in the string lookup map.
* @param key string to convert to a string lookup map key
* @return string lookup map key
*/
diff --git
a/src/main/java/org/apache/commons/text/similarity/IntersectionSimilarity.java
b/src/main/java/org/apache/commons/text/similarity/IntersectionSimilarity.java
index c62e9b5f..d7a4d3ed 100644
---
a/src/main/java/org/apache/commons/text/similarity/IntersectionSimilarity.java
+++
b/src/main/java/org/apache/commons/text/similarity/IntersectionSimilarity.java
@@ -106,7 +106,7 @@ public class IntersectionSimilarity<T> implements
SimilarityScore<IntersectionRe
}
/**
- * Get the number of unique elements in the bag.
+ * Gets the number of unique elements in the bag.
*
* @return The unique element size
*/
diff --git
a/src/test/java/org/apache/commons/text/jmh/DoubleFormatPerformance.java
b/src/test/java/org/apache/commons/text/jmh/DoubleFormatPerformance.java
index 4b584915..eae94f95 100644
--- a/src/test/java/org/apache/commons/text/jmh/DoubleFormatPerformance.java
+++ b/src/test/java/org/apache/commons/text/jmh/DoubleFormatPerformance.java
@@ -67,7 +67,7 @@ public class DoubleFormatPerformance {
/** Double input array. */
private double[] input;
- /** Get the input doubles.
+ /** Gets the input doubles.
* @return the input doubles
*/
public double[] getInput() {
diff --git
a/src/test/java/org/apache/commons/text/numbers/ParsedDecimalTest.java
b/src/test/java/org/apache/commons/text/numbers/ParsedDecimalTest.java
index 757e2e1a..00b93bf8 100644
--- a/src/test/java/org/apache/commons/text/numbers/ParsedDecimalTest.java
+++ b/src/test/java/org/apache/commons/text/numbers/ParsedDecimalTest.java
@@ -208,7 +208,7 @@ public class ParsedDecimalTest {
return Double.longBitsToDouble(bits | exp << 52);
}
- /** Get the raw digits in the given decimal as a string.
+ /** Gets the raw digits in the given decimal as a string.
* @param dec decimal instancE
* @return decimal digits as a string
*/