From 0c0c522c8ae5b02c6a5c420765dde1ce5d439e39 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 11 Nov 2024 09:27:14 -0500 Subject: [PATCH] Javadoc: Fix format nit --- .../commons/compress/archivers/zip/ZipArchiveEntry.java | 2 +- .../compress/archivers/ArchiveStreamFactoryTest.java | 6 +++--- .../java/org/apache/commons/compress/archivers/ZipTest.java | 6 +++--- .../commons/compress/archivers/sevenz/SevenZFileTest.java | 2 +- .../commons/compress/archivers/zip/ZipArchiveEntryTest.java | 4 ++-- .../compress/archivers/zip/ZipArchiveInputStreamTest.java | 6 +++--- .../apache/commons/compress/archivers/zip/ZipFileTest.java | 6 +++--- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java index 1c8e1cab585..e3b822002b2 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java @@ -256,7 +256,7 @@ private static String toEntryName(final Path inputPath, final String entryName, *

* The default value -1 means that the method has not been specified. *

- * @see COMPRESS-93 + * @see COMPRESS-93 */ private int method = ZipMethod.UNKNOWN_CODE; diff --git a/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java b/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java index 033794b1cc3..70d35370655 100644 --- a/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java @@ -285,7 +285,7 @@ public void testDetect() throws Exception { } /** - * Test case for COMPRESS-267. + * Test case for COMPRESS-267. */ @Test public void testDetectsAndThrowsFor7z() throws Exception { @@ -408,7 +408,7 @@ public void testShortTextFilesAreNoTARs() { } /** - * Tests case for COMPRESS-208. + * Tests case for COMPRESS-208. */ @Test public void testSkipsPK00Prefix() throws Exception { @@ -432,7 +432,7 @@ void testTarContainingEmptyDirIsTAR() throws IOException, ArchiveException { } /** - * Test case for COMPRESS-674. + * Test case for COMPRESS-674. */ @Test void testUtf16TextIsNotTAR() { diff --git a/src/test/java/org/apache/commons/compress/archivers/ZipTest.java b/src/test/java/org/apache/commons/compress/archivers/ZipTest.java index f8c66a2891d..66170737010 100644 --- a/src/test/java/org/apache/commons/compress/archivers/ZipTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/ZipTest.java @@ -681,7 +681,7 @@ public void testListAllFilesWithNestedArchive() throws Exception { /** * Test case for being able to skip an entry in an {@link ZipArchiveInputStream} even if the compression method of that entry is unsupported. * - * @see COMPRESS-93 + * @see COMPRESS-93 */ @Test public void testSkipEntryWithUnsupportedCompressionMethod() throws IOException { @@ -695,7 +695,7 @@ public void testSkipEntryWithUnsupportedCompressionMethod() throws IOException { } /** - * Test case for COMPRESS-208. + * Test case for COMPRESS-208. */ @Test public void testSkipsPK00Prefix() throws Exception { @@ -710,7 +710,7 @@ public void testSkipsPK00Prefix() throws Exception { } /** - * Test case for COMPRESS-93. + * Test case for COMPRESS-93. */ @Test public void testTokenizationCompressionMethod() throws IOException { 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 5023761e028..f23adc2e098 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 @@ -788,7 +788,7 @@ public void testReadEntriesOfSize0() throws IOException { } /** - * Test case for COMPRESS-681. + * Test case for COMPRESS-681. */ @Test public void testReadingArchiveProperties() throws IOException { diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java index 09d55ff7e2a..eae582a0b95 100644 --- a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java @@ -106,7 +106,7 @@ public void testAddAsFirstExtraField() { } /** - * Test case for COMPRESS-93. + * Test case for COMPRESS-93. */ @Test public void testCompressionMethod() throws Exception { @@ -265,7 +265,7 @@ public void testIsUnixSymlinkIsFalseIfMoreThanOneFlagIsSet() throws Exception { } /** - * Test case for COMPRESS-94. + * Test case for COMPRESS-94. */ @Test public void testNotEquals() { diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java index 0a2fd6506c3..02712475b6f 100644 --- a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java @@ -176,7 +176,7 @@ public void testGetFirstEntryEmptyZip() throws IOException { } /** - * Test case for COMPRESS-351. + * Test case for COMPRESS-351. */ @Test public void testMessageWithCorruptFileName() throws Exception { @@ -395,7 +395,7 @@ public void testReadDeflate64CompressedStreamWithDataDescriptor() throws Excepti } /** - * Test case for COMPRESS-264. + * Test case for COMPRESS-264. */ @Test public void testReadingOfFirstStoredEntry() throws Exception { @@ -685,7 +685,7 @@ public void testWinzipBackSlashWorkaround() throws Exception { } /** - * Test case for COMPRESS-364. + * Test case for COMPRESS-364. */ @Test public void testWithBytesAfterData() throws Exception { diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java index c2501d15d32..1090728a506 100644 --- a/src/test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java @@ -692,7 +692,7 @@ public void testReadDeflate64CompressedStream() throws Exception { } /** - * Test case for COMPRESS-621. + * Test case for COMPRESS-621. */ @Test public void testReadingOfExtraDataBeforeZip() throws IOException { @@ -714,7 +714,7 @@ public void testReadingOfExtraDataBeforeZip() throws IOException { } /** - * Test case for COMPRESS-264. + * Test case for COMPRESS-264. */ @Test public void testReadingOfFirstStoredEntry() throws Exception { @@ -864,7 +864,7 @@ public void testSingleByteReadConsistentlyReturnsMinusOneAtEofUsingUnshrink() th } /** - * Test case for COMPRESS-208. + * Test case for COMPRESS-208. */ @Test public void testSkipsPK00Prefix() throws Exception {