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 c3c3b598 TextStringBuilderTest#testAppendToStringBuffer appends to 
StringBuffer now (#724)
c3c3b598 is described below

commit c3c3b598220b63aa1776c56482dd4a9345379783
Author: Michael Hausegger <[email protected]>
AuthorDate: Tue Nov 18 18:47:20 2025 +0100

    TextStringBuilderTest#testAppendToStringBuffer appends to StringBuffer now 
(#724)
    
    Co-authored-by: TheRealHaui <[email protected]>
---
 src/test/java/org/apache/commons/text/TextStringBuilderTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/text/TextStringBuilderTest.java 
b/src/test/java/org/apache/commons/text/TextStringBuilderTest.java
index 8ef3eaa1..3317543f 100644
--- a/src/test/java/org/apache/commons/text/TextStringBuilderTest.java
+++ b/src/test/java/org/apache/commons/text/TextStringBuilderTest.java
@@ -246,7 +246,7 @@ class TextStringBuilderTest {
     @Test
     void testAppendToStringBuffer() throws Exception {
         final TextStringBuilder sb = new TextStringBuilder("1234567890");
-        final StringBuilder buffer = new StringBuilder("Test ");
+        final StringBuffer buffer = new StringBuffer("Test ");
 
         sb.appendTo(buffer);
 

Reply via email to