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 aff22752 Use diamonds
aff22752 is described below

commit aff2275270bc9218ffdca5dacd539da48f601f23
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Aug 23 15:38:03 2023 -0400

    Use diamonds
---
 src/test/java/org/apache/commons/text/StrSubstitutorTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/text/StrSubstitutorTest.java 
b/src/test/java/org/apache/commons/text/StrSubstitutorTest.java
index 858b43b6..abbb9e51 100644
--- a/src/test/java/org/apache/commons/text/StrSubstitutorTest.java
+++ b/src/test/java/org/apache/commons/text/StrSubstitutorTest.java
@@ -443,7 +443,7 @@ public class StrSubstitutorTest {
     @Test
     public void testReplaceInTakingStringBufferWithNonNull() {
         final StrSubstitutor strSubstitutor =
-                new StrSubstitutor(new HashMap<String, String>(), 
"WV@i#y?N*[", "WV@i#y?N*[", '*');
+                new StrSubstitutor(new HashMap<>(), "WV@i#y?N*[", 
"WV@i#y?N*[", '*');
 
         assertFalse(strSubstitutor.isPreserveEscapes());
         assertFalse(strSubstitutor.replaceIn(new StringBuffer("WV@i#y?N*[")));

Reply via email to