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 2024/11/04 20:28:04 UTC
(commons-lang) branch master updated (d98b39cbc -> f878fba9c)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
from d98b39cbc Add ArrayUtilsTest.testContainsAnyEnum()
new be295f949 More precise test failure message
new 4686f8bfa Javadoc
new d08dc8bbf Fix Javadoc typo
new f878fba9c Normalize Javadoc first sentence in LocaleUtils
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/main/java/org/apache/commons/lang3/LocaleUtils.java | 8 ++++----
.../commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java | 5 ++++-
2 files changed, 8 insertions(+), 5 deletions(-)
(commons-lang) 03/04: Fix Javadoc typo
Posted by gg...@apache.org.
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-lang.git
commit d08dc8bbf4392f5a234612d74573cf85b7d11fac
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 4 15:23:56 2024 -0500
Fix Javadoc typo
---
src/main/java/org/apache/commons/lang3/LocaleUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/lang3/LocaleUtils.java b/src/main/java/org/apache/commons/lang3/LocaleUtils.java
index 39b81a490..f057c7625 100644
--- a/src/main/java/org/apache/commons/lang3/LocaleUtils.java
+++ b/src/main/java/org/apache/commons/lang3/LocaleUtils.java
@@ -158,7 +158,7 @@ public class LocaleUtils {
/**
* Tests whether a Locale's language is undetermined.
* <p>
- * A Locale's language tag is undetermined if it's value is {@code "und"}. If a language is empty, or not well-formed (for example, "a" or"e2"), it will be
+ * A Locale's language tag is undetermined if it's value is {@code "und"}. If a language is empty, or not well-formed (for example, "a" or "e2"), it will be
* equal to {@code "und"}.
* </p>
*
(commons-lang) 01/04: More precise test failure message
Posted by gg...@apache.org.
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-lang.git
commit be295f9493135f69321001ecb921998eaf67b49d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 4 15:10:15 2024 -0500
More precise test failure message
---
.../apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
index 553029074..73936343c 100644
--- a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
@@ -57,7 +57,7 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
@AfterAll
public static void afterAll() {
if (!Java17Failures.isEmpty()) {
- System.err.printf("Actual failures on Java 17: %,d%n%s%n", Java17Failures.size(), Java17Failures);
+ System.err.printf("Actual failures on Java 17+: %,d%n%s%n", Java17Failures.size(), Java17Failures);
}
if (!Java11Failures.isEmpty()) {
System.err.printf("Actual failures on Java 11: %,d%n%s%n", Java11Failures.size(), Java11Failures);
(commons-lang) 02/04: Javadoc
Posted by gg...@apache.org.
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-lang.git
commit 4686f8bfac0c6232a3cba099688a75fd7b1be731
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 4 15:11:21 2024 -0500
Javadoc
---
.../apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
index 73936343c..c475d96c6 100644
--- a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
@@ -45,6 +45,9 @@ import org.junitpioneer.jupiter.DefaultTimeZone;
import org.junitpioneer.jupiter.ReadsDefaultLocale;
import org.junitpioneer.jupiter.ReadsDefaultTimeZone;
+/**
+ * Tests {@link FastDateParser}.
+ */
/* Make test reproducible */ @DefaultLocale(language = "en")
/* Make test reproducible */ @DefaultTimeZone(TimeZones.GMT_ID)
/* Make test reproducible */ @ReadsDefaultLocale
(commons-lang) 04/04: Normalize Javadoc first sentence in LocaleUtils
Posted by gg...@apache.org.
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-lang.git
commit f878fba9cff86126eff1c38d1e10901e84bb353a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 4 15:25:01 2024 -0500
Normalize Javadoc first sentence in LocaleUtils
---
src/main/java/org/apache/commons/lang3/LocaleUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/LocaleUtils.java b/src/main/java/org/apache/commons/lang3/LocaleUtils.java
index f057c7625..c53a899f7 100644
--- a/src/main/java/org/apache/commons/lang3/LocaleUtils.java
+++ b/src/main/java/org/apache/commons/lang3/LocaleUtils.java
@@ -136,7 +136,7 @@ public class LocaleUtils {
}
/**
- * Checks whether the given String is a ISO 3166 alpha-2 country code.
+ * Tests whether the given String is a ISO 3166 alpha-2 country code.
*
* @param str the String to check
* @return true, is the given String is a ISO 3166 compliant country code.
@@ -146,7 +146,7 @@ public class LocaleUtils {
}
/**
- * Checks whether the given String is a ISO 639 compliant language code.
+ * Tests whether the given String is a ISO 639 compliant language code.
*
* @param str the String to check.
* @return true, if the given String is a ISO 639 compliant language code.
@@ -172,7 +172,7 @@ public class LocaleUtils {
}
/**
- * Checks whether the given String is a UN M.49 numeric area code.
+ * TestsNo whether the given String is a UN M.49 numeric area code.
*
* @param str the String to check
* @return true, is the given String is a UN M.49 numeric area code.