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-fileupload.git
commit ac6facb61872ca5dd9d6f9718f06843a400ac8e8 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Sep 13 18:17:51 2023 -0400 Use final --- .../java/org/apache/commons/fileupload2/core/AbstractSizesTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/AbstractSizesTest.java b/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/AbstractSizesTest.java index a67d09ea..37bac01a 100644 --- a/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/AbstractSizesTest.java +++ b/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/AbstractSizesTest.java @@ -46,8 +46,8 @@ public abstract class AbstractSizesTest<AFU extends AbstractFileUpload<R, I, F>, */ @Test public void testFileSizeLimit() throws IOException { - var content = "This is the content of the file\n"; - var contentSize = content.getBytes().length; + final var content = "This is the content of the file\n"; + final var contentSize = content.getBytes().length; // @formatter:off final var request =