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 2025/08/03 18:08:57 UTC
(commons-compress) 01/02: Format tweaks
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-compress.git
commit 11a827fcde18c1961d8c139054f53e4ec7a1f2af
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sun Aug 3 13:43:12 2025 -0400
Format tweaks
---
.../compress/archivers/sevenz/SevenZFileTest.java | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
index bbb0284f0..036663cc0 100644
--- a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
@@ -531,10 +531,19 @@ void testNoOOMOnCorruptedHeader() throws IOException {
@Test
void testRandomAccessMultipleReadSameFile() throws Exception {
try (SevenZFile sevenZFile = getSevenZFile("COMPRESS-256.7z")) {
- final String testTxtContents = "111111111111111111111111111000101011\n" + "111111111111111111111111111000101011\n"
- + "111111111111111111111111111000101011\n" + "111111111111111111111111111000101011\n" + "111111111111111111111111111000101011\n"
- + "111111111111111111111111111000101011\n" + "111111111111111111111111111000101011\n" + "111111111111111111111111111000101011\n"
- + "111111111111111111111111111000101011\n" + "111111111111111111111111111000101011";
+ // @formatter:off
+ final String testTxtContents =
+ "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011\n"
+ + "111111111111111111111111111000101011";
+ // @formatter:on
SevenZArchiveEntry entry;
SevenZArchiveEntry testTxtEntry = null;
while ((entry = sevenZFile.getNextEntry()) != null) {