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 c5b72573 Fix vararg compiler warning
c5b72573 is described below

commit c5b72573e7157a7a09fde4c8bf9fdc34f1087737
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Apr 6 18:38:40 2024 -0400

    Fix vararg compiler warning
---
 src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java 
b/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java
index 400c1e3a..fa4b7830 100644
--- a/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java
+++ b/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java
@@ -303,7 +303,7 @@ public class RandomStringGeneratorTest {
         // @formatter:off
         final RandomStringGenerator generator = RandomStringGenerator.builder()
                 .withinRange()
-                .withinRange(null)
+                .withinRange((char[][]) null)
                 .withinRange(pairs)
                 .build();
         // @formatter:on

Reply via email to