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 2022/04/04 18:38:24 UTC
[commons-io] branch master updated: Checkstyle.
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-io.git
The following commit(s) were added to refs/heads/master by this push:
new f8e63a0a Checkstyle.
f8e63a0a is described below
commit f8e63a0a7b01cc1feb6d00b48b5c5e68eb209046
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 4 14:38:15 2022 -0400
Checkstyle.
---
src/test/java/org/apache/commons/io/IOUtilsTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/io/IOUtilsTest.java b/src/test/java/org/apache/commons/io/IOUtilsTest.java
index 3f2df86e..e1842d6e 100644
--- a/src/test/java/org/apache/commons/io/IOUtilsTest.java
+++ b/src/test/java/org/apache/commons/io/IOUtilsTest.java
@@ -342,7 +342,7 @@ public class IOUtilsTest {
// TODO Can we mock the test string for this test to pretend to be larger?
// Mocking the length seems simple but how about the data?
final int repeat = Integer.getInteger("testBigString", 3_000_000);
- String data;
+ final String data;
try {
data = StringUtils.repeat("\uD83D", repeat);
} catch (OutOfMemoryError e) {