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 2020/11/21 02:47:07 UTC

[commons-text] branch master updated (78eec43 -> 764095f)

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-text.git.


    from 78eec43  Remove redundant calls to super().
     new a99a7d9  Travis: Replace Java 14 with 15. One Java 11 build.
     new 764095f  No need to initialize to default value.

The 2 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:
 .travis.yml                                                          | 3 +--
 src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)


[commons-text] 02/02: No need to initialize to default value.

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-text.git

commit 764095f95c6cc8ae66fb1fb355eba3ccfc787620
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 20 21:47:02 2020 -0500

    No need to initialize to default value.
---
 src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
index 2a832b6..9d1dd8a 100644
--- a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
+++ b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
@@ -263,7 +263,7 @@ public class ExtendedMessageFormatTest {
     @Test
     public void testBuiltInChoiceFormat() {
         final Object[] values = new Number[] {1, Double.valueOf("2.2"), Double.valueOf("1234.5")};
-        String choicePattern = null;
+        String choicePattern;
         final Locale[] availableLocales = NumberFormat.getAvailableLocales();
 
         choicePattern = "{0,choice,1#One|2#Two|3#Many {0,number}}";
@@ -362,7 +362,7 @@ public class ExtendedMessageFormatTest {
         final String pattern = "Pattern: {0,testfmt}";
         final ExtendedMessageFormat emf = new ExtendedMessageFormat(pattern, Locale.US, fmtRegistry);
 
-        ExtendedMessageFormat other = null;
+        ExtendedMessageFormat other;
 
         // Same object
         assertTrue(emf.equals(emf), "same, equals()");


[commons-text] 01/02: Travis: Replace Java 14 with 15. One Java 11 build.

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-text.git

commit a99a7d9dfe7aebbbaf952bfad136fe240039c9c5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 20 21:46:49 2020 -0500

    Travis: Replace Java 14 with 15. One Java 11
    build.
---
 .travis.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c453c94..c15d1d2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,8 +18,7 @@ language: java
 jdk:
   - openjdk8
   - openjdk11
-  - oraclejdk11
-  - openjdk14
+  - openjdk15
   - openjdk-ea
 
 matrix: