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 2017/11/01 22:25:44 UTC
[1/4] commons-compress git commit: Remove trailing white spaces on
all lines.
Repository: commons-compress
Updated Branches:
refs/heads/master a0aec901f -> 6b12eab8e
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/Iterators.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/Iterators.java b/src/main/java/org/apache/commons/compress/utils/Iterators.java
index eb57643..0db0c36 100644
--- a/src/main/java/org/apache/commons/compress/utils/Iterators.java
+++ b/src/main/java/org/apache/commons/compress/utils/Iterators.java
@@ -25,7 +25,7 @@ import java.util.Objects;
/**
* Iterator utilities.
- *
+ *
* @since 1.13.
*/
public class Iterators {
@@ -33,7 +33,7 @@ public class Iterators {
/**
* Adds all the elements in the source {@code iterator} to the target
* {@code collection}.
- *
+ *
* <p>
* When this method returns, the {@code iterator} will be "empty": its
* {@code hasNext()} method returns {@code false}.
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/Lists.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/Lists.java b/src/main/java/org/apache/commons/compress/utils/Lists.java
index 9916bd3..e7a82dc 100644
--- a/src/main/java/org/apache/commons/compress/utils/Lists.java
+++ b/src/main/java/org/apache/commons/compress/utils/Lists.java
@@ -31,7 +31,7 @@ public class Lists {
/**
* Creates a new {@link ArrayList}.
- *
+ *
* @param <E> type of elements contained in new list
* @return a new {@link ArrayList}
*/
@@ -42,7 +42,7 @@ public class Lists {
/**
* Creates a new {@link ArrayList} filled with the contents of the given
* {@code iterator}.
- *
+ *
* @param iterator
* the source iterator
* @param <E> type of elements contained in new list
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/ServiceLoaderIterator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/ServiceLoaderIterator.java b/src/main/java/org/apache/commons/compress/utils/ServiceLoaderIterator.java
index 134ff2e..aeda857 100644
--- a/src/main/java/org/apache/commons/compress/utils/ServiceLoaderIterator.java
+++ b/src/main/java/org/apache/commons/compress/utils/ServiceLoaderIterator.java
@@ -27,7 +27,7 @@ import java.util.ServiceLoader;
/**
* Iterates all services for a given class through the standard
* {@link ServiceLoader} mechanism.
- *
+ *
* @param <E>
* The service to load
* @since 1.13
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/Sets.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/Sets.java b/src/main/java/org/apache/commons/compress/utils/Sets.java
index 556a023..2998120 100644
--- a/src/main/java/org/apache/commons/compress/utils/Sets.java
+++ b/src/main/java/org/apache/commons/compress/utils/Sets.java
@@ -35,7 +35,7 @@ public class Sets {
/**
* Creates a new HashSet filled with the given elements
- *
+ *
* @param elements
* the elements to fill the new set
* @param <E> type of elements contained in new set
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/ArchiveReadTest.java b/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
index e217035..ad016a2 100644
--- a/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
+++ b/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress;
@@ -39,9 +39,9 @@ import org.junit.runners.Parameterized.Parameters;
/**
* Test that can read various archive file examples.
- *
+ *
* This is a very simple implementation.
- *
+ *
* Files must be in resources/archives, and there must be a file.txt containing
* the list of files in the archives.
*/
@@ -90,7 +90,7 @@ public class ArchiveReadTest extends AbstractTestCase {
public boolean accept(final File dir, final String name) {
return !name.endsWith(".txt");
}
- }))
+ }))
{
params.add(new Object[] { f });
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/ArchiveUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/ArchiveUtilsTest.java b/src/test/java/org/apache/commons/compress/ArchiveUtilsTest.java
index 54a2451..9e4c51b 100644
--- a/src/test/java/org/apache/commons/compress/ArchiveUtilsTest.java
+++ b/src/test/java/org/apache/commons/compress/ArchiveUtilsTest.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/ChainingTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/ChainingTestCase.java b/src/test/java/org/apache/commons/compress/ChainingTestCase.java
index 69e67fa..62d2779 100644
--- a/src/test/java/org/apache/commons/compress/ChainingTestCase.java
+++ b/src/test/java/org/apache/commons/compress/ChainingTestCase.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/DetectArchiverTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/DetectArchiverTestCase.java b/src/test/java/org/apache/commons/compress/DetectArchiverTestCase.java
index f8e643c..07a0b73 100644
--- a/src/test/java/org/apache/commons/compress/DetectArchiverTestCase.java
+++ b/src/test/java/org/apache/commons/compress/DetectArchiverTestCase.java
@@ -65,7 +65,7 @@ public final class DetectArchiverTestCase extends AbstractTestCase {
@Test
public void testDetection() throws Exception {
- final ArchiveInputStream ar = getStreamFor("bla.ar");
+ final ArchiveInputStream ar = getStreamFor("bla.ar");
assertNotNull(ar);
assertTrue(ar instanceof ArArchiveInputStream);
@@ -84,7 +84,7 @@ public final class DetectArchiverTestCase extends AbstractTestCase {
final ArchiveInputStream cpio = getStreamFor("bla.cpio");
assertNotNull(cpio);
assertTrue(cpio instanceof CpioArchiveInputStream);
-
+
final ArchiveInputStream arj = getStreamFor("bla.arj");
assertNotNull(arj);
assertTrue(arj instanceof ArjArchiveInputStream);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/IOMethodsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/IOMethodsTest.java b/src/test/java/org/apache/commons/compress/IOMethodsTest.java
index cb2c260..481a9d5 100644
--- a/src/test/java/org/apache/commons/compress/IOMethodsTest.java
+++ b/src/test/java/org/apache/commons/compress/IOMethodsTest.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
----------------------------------------------------------------------
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 ff8010f..f7113ac 100644
--- a/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
@@ -101,7 +101,7 @@ public class ArchiveStreamFactoryTest {
}
/**
- * Test case for
+ * Test case for
* <a href="https://issues.apache.org/jira/browse/COMPRESS-267"
* >COMPRESS-267</a>.
*/
@@ -118,7 +118,7 @@ public class ArchiveStreamFactoryTest {
}
/**
- * Test case for
+ * Test case for
* <a href="https://issues.apache.org/jira/browse/COMPRESS-208"
* >COMPRESS-208</a>.
*/
@@ -132,7 +132,7 @@ public class ArchiveStreamFactoryTest {
}
}
}
-
+
@Test
public void testEncodingCtor() {
ArchiveStreamFactory fac = new ArchiveStreamFactory();
@@ -169,7 +169,7 @@ public class ArchiveStreamFactoryTest {
final String fieldName;
final String type;
final boolean hasOutputStream;
-
+
TestData(final String testFile, final String type, final boolean hasOut, final String expectedEncoding, final ArchiveStreamFactory fac, final String fieldName) {
this.testFile = testFile;
this.expectedEncoding = expectedEncoding;
@@ -178,7 +178,7 @@ public class ArchiveStreamFactoryTest {
this.type = type;
this.hasOutputStream = hasOut;
}
-
+
@Override
public String toString() {
return "TestData [testFile=" + testFile + ", expectedEncoding=" + expectedEncoding + ", fac=" + fac
@@ -388,7 +388,7 @@ public class ArchiveStreamFactoryTest {
} catch (final NoSuchFieldException e) {
System.out.println("Cannot find " + name + " in class " + instance.getClass().getSimpleName());
return UNKNOWN;
- }
+ }
}
final boolean isAccessible = fld.isAccessible();
try {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java b/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
index 2573583..a2f47ba 100644
--- a/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress.archivers;
@@ -46,7 +46,7 @@ import org.junit.runners.Parameterized.Parameters;
/**
* Test that can read various tar file examples.
- *
+ *
* Files must be in resources/longpath, and there must be a file.txt containing
* the list of files in the archives.
*/
@@ -96,7 +96,7 @@ public class LongPathTest extends AbstractTestCase {
public boolean accept(final File dir, final String name) {
return !name.endsWith(".txt");
}
- }))
+ }))
{
params.add(new Object[] { f });
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java b/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
index 7279de1..b4d0cf4 100644
--- a/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress.archivers;
@@ -46,7 +46,7 @@ import org.junit.runners.Parameterized.Parameters;
/**
* Test that can read various tar file examples.
- *
+ *
* Files must be in resources/longsymlink, and there must be a file.txt containing
* the list of files in the archives.
*/
@@ -94,7 +94,7 @@ public class LongSymLinkTest extends AbstractTestCase {
public boolean accept(final File dir, final String name) {
return !name.endsWith(".txt");
}
- }))
+ }))
{
params.add(new Object[] { f });
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/SevenZTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/SevenZTestCase.java b/src/test/java/org/apache/commons/compress/archivers/SevenZTestCase.java
index d898be1..c5499c9 100644
--- a/src/test/java/org/apache/commons/compress/archivers/SevenZTestCase.java
+++ b/src/test/java/org/apache/commons/compress/archivers/SevenZTestCase.java
@@ -36,7 +36,7 @@ public class SevenZTestCase extends AbstractTestCase {
public void testSevenZArchiveCreationUsingCopy() throws Exception {
testSevenZArchiveCreation(SevenZMethod.COPY);
}
-
+
@Test
public void testSevenZArchiveCreationUsingLZMA() throws Exception {
testSevenZArchiveCreation(SevenZMethod.LZMA);
@@ -46,17 +46,17 @@ public class SevenZTestCase extends AbstractTestCase {
public void testSevenZArchiveCreationUsingLZMA2() throws Exception {
testSevenZArchiveCreation(SevenZMethod.LZMA2);
}
-
+
@Test
public void testSevenZArchiveCreationUsingBZIP2() throws Exception {
testSevenZArchiveCreation(SevenZMethod.BZIP2);
}
-
+
@Test
public void testSevenZArchiveCreationUsingDeflate() throws Exception {
testSevenZArchiveCreation(SevenZMethod.DEFLATE);
}
-
+
private void testSevenZArchiveCreation(final SevenZMethod method) throws Exception {
final File output = new File(dir, "bla.7z");
final File file1 = getFile("test1.xml");
@@ -66,12 +66,12 @@ public class SevenZTestCase extends AbstractTestCase {
outArchive.setContentCompression(method);
try {
SevenZArchiveEntry entry;
-
+
entry = outArchive.createArchiveEntry(file1, file1.getName());
outArchive.putArchiveEntry(entry);
copy(file1, outArchive);
outArchive.closeArchiveEntry();
-
+
entry = outArchive.createArchiveEntry(file2, file2.getName());
outArchive.putArchiveEntry(entry);
copy(file2, outArchive);
@@ -95,7 +95,7 @@ public class SevenZTestCase extends AbstractTestCase {
}
}
- private void copy(final File src, final SevenZOutputFile dst) throws IOException {
+ private void copy(final File src, final SevenZOutputFile dst) throws IOException {
FileInputStream fis = null;
try {
fis = new FileInputStream(src);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java b/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java
index 7988e23..a608112 100644
--- a/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java
+++ b/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java
@@ -22,10 +22,10 @@ import static org.junit.Assert.*;
import java.io.ByteArrayInputStream;
import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Enumeration;
@@ -37,9 +37,9 @@ import org.apache.commons.compress.AbstractTestCase;
import org.apache.commons.compress.archivers.zip.Zip64Mode;
import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
import org.apache.commons.compress.archivers.zip.ZipArchiveEntryPredicate;
-import org.apache.commons.compress.archivers.zip.ZipArchiveInputStream;
-import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
-import org.apache.commons.compress.archivers.zip.ZipFile;
+import org.apache.commons.compress.archivers.zip.ZipArchiveInputStream;
+import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
+import org.apache.commons.compress.archivers.zip.ZipFile;
import org.apache.commons.compress.archivers.zip.ZipMethod;
import org.apache.commons.compress.utils.IOUtils;
import org.apache.commons.compress.utils.SeekableInMemoryByteChannel;
@@ -170,7 +170,7 @@ public final class ZipTestCase extends AbstractTestCase {
}
/**
- * Test case for
+ * Test case for
* <a href="https://issues.apache.org/jira/browse/COMPRESS-208"
* >COMPRESS-208</a>.
*/
@@ -197,7 +197,7 @@ public final class ZipTestCase extends AbstractTestCase {
assertTrue(bla.canReadEntryData(bla.getEntry("test1.xml")));
bla.close();
*/
-
+
final ZipFile moby = new ZipFile(getFile("moby.zip"));
final ZipArchiveEntry entry = moby.getEntry("README");
assertEquals("method", ZipMethod.TOKENIZATION.getCode(), entry.getMethod());
@@ -206,7 +206,7 @@ public final class ZipTestCase extends AbstractTestCase {
}
/**
- * Test case for being able to skip an entry in an
+ * Test case for being able to skip an entry in an
* {@link ZipArchiveInputStream} even if the compression method of that
* entry is unsupported.
*
@@ -234,9 +234,9 @@ public final class ZipTestCase extends AbstractTestCase {
* Checks if all entries from a nested archive can be read.
* The archive: OSX_ArchiveWithNestedArchive.zip contains:
* NestedArchiv.zip and test.xml3.
- *
+ *
* The nested archive: NestedArchive.zip contains test1.xml and test2.xml
- *
+ *
* @throws Exception
*/
@Test
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
----------------------------------------------------------------------
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 94147d9..4592523 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
@@ -280,7 +280,7 @@ public class SevenZFileTest extends AbstractTestCase {
assertEquals(5, entries);
}
}
-
+
private void test7zUnarchive(final File f, final SevenZMethod m, final byte[] password) throws Exception {
try (SevenZFile sevenZFile = new SevenZFile(f, password)) {
SevenZArchiveEntry entry = sevenZFile.getNextEntry();
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java
index 5e35d33..489ce68 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java
@@ -132,7 +132,7 @@ public class TarArchiveEntryTest implements TarConstants {
@Test public void testExtraPaxHeaders() throws IOException {
ByteArrayOutputStream bos = new ByteArrayOutputStream();
TarArchiveOutputStream tos = new TarArchiveOutputStream(bos);
-
+
TarArchiveEntry entry = new TarArchiveEntry("./weasels");
entry.addPaxHeader("APACHE.mustelida","true");
entry.addPaxHeader("SCHILY.xattr.user.org.apache.weasels","maximum weasels");
@@ -148,7 +148,7 @@ public class TarArchiveEntryTest implements TarConstants {
tos.write('W');
tos.closeArchiveEntry();
tos.close();
- assertNotEquals("should have extra headers before clear",0,entry.getExtraPaxHeaders().size());
+ assertNotEquals("should have extra headers before clear",0,entry.getExtraPaxHeaders().size());
entry.clearExtraPaxHeaders();
assertEquals("extra headers should be empty after clear",0,entry.getExtraPaxHeaders().size());
TarArchiveInputStream tis = new TarArchiveInputStream(new ByteArrayInputStream(bos.toByteArray()));
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/tar/TarLister.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarLister.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarLister.java
index 71c9641..6d2a32e 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar/TarLister.java
+++ b/src/test/java/org/apache/commons/compress/archivers/tar/TarLister.java
@@ -102,5 +102,5 @@ public final class TarLister {
}
System.out.println(sb);
}
-
+
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
index 50d7d3b..393c0aa 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress.archivers.tar;
@@ -53,7 +53,7 @@ public class TarUtilsTest {
@Test
public void testParseOctal() throws Exception{
- long value;
+ long value;
byte [] buffer;
final long MAX_OCTAL = 077777777777L; // Allowed 11 digits
final long MAX_OCTAL_OVERFLOW = 0777777777777L; // in fact 12 for some implementations
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/AsiExtraFieldTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/AsiExtraFieldTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/AsiExtraFieldTest.java
index bd17cea..844623c 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/AsiExtraFieldTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/AsiExtraFieldTest.java
@@ -30,7 +30,7 @@ public class AsiExtraFieldTest implements UnixStat {
/**
* Test file mode magic.
- */
+ */
@Test
public void testModes() {
final AsiExtraField a = new AsiExtraField();
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/BinaryTreeTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/BinaryTreeTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/BinaryTreeTest.java
index fc0e94a..ae4ba9d 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/BinaryTreeTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/BinaryTreeTest.java
@@ -32,11 +32,11 @@ public class BinaryTreeTest {
@Test
public void testDecode() throws IOException {
final InputStream in = new ByteArrayInputStream(new byte[] { 0x02, 0x42, 0x01, 0x13 });
-
+
final BinaryTree tree = BinaryTree.decode(in, 8);
-
+
assertNotNull(tree);
-
+
final BitStream stream = new BitStream(new ByteArrayInputStream(new byte[] { (byte) 0x8D, (byte) 0xC5, (byte) 0x11, 0x00 }));
assertEquals(0, tree.read(stream));
assertEquals(1, tree.read(stream));
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/BitStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/BitStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/BitStreamTest.java
index a0525fa..f330c29 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/BitStreamTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/BitStreamTest.java
@@ -57,7 +57,7 @@ public class BitStreamTest {
assertEquals("bit 13", 0, stream.nextBit());
assertEquals("bit 14", 0, stream.nextBit());
assertEquals("bit 15", 0, stream.nextBit());
-
+
assertEquals("next bit", -1, stream.nextBit());
stream.close();
}
@@ -86,7 +86,7 @@ public class BitStreamTest {
assertEquals("bit 1", 1, stream.nextBit());
assertEquals("bit 2", 0, stream.nextBit());
assertEquals("bit 3", 1, stream.nextBit());
-
+
assertEquals("next byte", 0x5E, stream.nextByte());
assertEquals("next byte", -1, stream.nextByte()); // not enough bits left to read a byte
stream.close();
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/CircularBufferTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/CircularBufferTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/CircularBufferTest.java
index 442d5e6..57b6b01 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/CircularBufferTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/CircularBufferTest.java
@@ -46,15 +46,15 @@ public class CircularBufferTest {
@Test
public void testCopy() throws Exception {
final CircularBuffer buffer = new CircularBuffer(16);
-
+
buffer.put(1);
buffer.put(2);
buffer.get();
buffer.get();
-
+
// copy uninitialized data
buffer.copy(6, 8);
-
+
for (int i = 2; i < 6; i++) {
assertEquals("buffer[" + i + "]", 0, buffer.get());
}
@@ -62,17 +62,17 @@ public class CircularBufferTest {
assertEquals("buffer[" + 7 + "]", 2, buffer.get());
assertEquals("buffer[" + 8 + "]", 0, buffer.get());
assertEquals("buffer[" + 9 + "]", 0, buffer.get());
-
+
for (int i = 10; i < 14; i++) {
buffer.put(i);
buffer.get();
}
-
+
assertFalse("available", buffer.available());
-
+
// copy data and wrap
buffer.copy(2, 8);
-
+
for (int i = 14; i < 18; i++) {
assertEquals("buffer[" + i + "]", i % 2 == 0 ? 12 : 13, buffer.get());
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java
index 13bdb53..67fbbb1 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java
@@ -76,7 +76,7 @@ public class ExplodeSupportTest {
assertEquals("method", ZipMethod.IMPLODING.getCode(), entry.getMethod());
final InputStream bio = new BoundedInputStream(zin, entry.getSize());
-
+
final ByteArrayOutputStream bout = new ByteArrayOutputStream();
final CheckedOutputStream out = new CheckedOutputStream(bout, new CRC32());
IOUtils.copy(bio, out);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreatorTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreatorTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreatorTest.java
index efa38a3..19a8fe9 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreatorTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreatorTest.java
@@ -46,7 +46,7 @@ public class ParallelScatterZipCreatorTest {
private File result;
private File tmp;
-
+
@After
public void cleanup() {
tryHardToDelete(result);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStreamTest.java
index 388b2ca..124cf9a 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStreamTest.java
@@ -42,7 +42,7 @@ public class ScatterZipOutputStreamTest {
tryHardToDelete(scatterFile);
tryHardToDelete(target);
}
-
+
@Test
public void putArchiveEntry() throws Exception {
scatterFile = File.createTempFile("scattertest", ".notzip");
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java
index aecc005..da9bb24 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java
@@ -265,7 +265,7 @@ public class UTF8ZipFilesTest extends AbstractTestCase {
zos = new ZipArchiveOutputStream(file);
zos.setEncoding(encoding);
zos.setUseLanguageEncodingFlag(withEFS);
- zos.setCreateUnicodeExtraFields(withExplicitUnicodeExtra ?
+ zos.setCreateUnicodeExtraFields(withExplicitUnicodeExtra ?
ZipArchiveOutputStream
.UnicodeExtraFieldPolicy.NEVER
: ZipArchiveOutputStream
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java
index fbf6c95..e3bd60e 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java
@@ -439,7 +439,7 @@ public class X5455_ExtendedTimestampTest {
}
}
out.close();
-
+
final ZipFile zf = new ZipFile(output);
final ZipArchiveEntry ze = zf.getEntry("foo");
final X5455_ExtendedTimestamp ext =
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
----------------------------------------------------------------------
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 cd7efdc..a0a5c50 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
@@ -133,22 +133,22 @@ public class ZipArchiveInputStreamTest {
@Test
public void testUnshrinkEntry() throws Exception {
final ZipArchiveInputStream in = new ZipArchiveInputStream(new FileInputStream(getFile("SHRUNK.ZIP")));
-
+
ZipArchiveEntry entry = in.getNextZipEntry();
assertEquals("method", ZipMethod.UNSHRINKING.getCode(), entry.getMethod());
assertTrue(in.canReadEntryData(entry));
-
+
FileInputStream original = new FileInputStream(getFile("test1.xml"));
try {
assertArrayEquals(IOUtils.toByteArray(original), IOUtils.toByteArray(in));
} finally {
original.close();
}
-
+
entry = in.getNextZipEntry();
assertEquals("method", ZipMethod.UNSHRINKING.getCode(), entry.getMethod());
assertTrue(in.canReadEntryData(entry));
-
+
original = new FileInputStream(getFile("test2.xml"));
try {
assertArrayEquals(IOUtils.toByteArray(original), IOUtils.toByteArray(in));
@@ -159,7 +159,7 @@ public class ZipArchiveInputStreamTest {
/**
- * Test case for
+ * Test case for
* <a href="https://issues.apache.org/jira/browse/COMPRESS-264"
* >COMPRESS-264</a>.
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java
----------------------------------------------------------------------
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 6efaba4..87a3ded 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
@@ -207,7 +207,7 @@ public class ZipFileTest {
}
/**
- * Test case for
+ * Test case for
* <a href="https://issues.apache.org/jira/browse/COMPRESS-208"
* >COMPRESS-208</a>.
*/
@@ -314,7 +314,7 @@ public class ZipFileTest {
}
/**
- * Test case for
+ * Test case for
* <a href="https://issues.apache.org/jira/browse/COMPRESS-264"
* >COMPRESS-264</a>.
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java b/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
index 366989a..9565ae9 100644
--- a/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
+++ b/src/test/java/org/apache/commons/compress/changes/ChangeSetTestCase.java
@@ -74,7 +74,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
* Adds an ArchiveEntry with the same name two times.
* Only the latest addition should be found in the ChangeSet,
* the first add should be replaced.
- *
+ *
* @throws Exception
*/
@Test
@@ -109,7 +109,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
* Adds an ArchiveEntry with the same name two times.
* Only the first addition should be found in the ChangeSet,
* the second add should never be added since replace = false
- *
+ *
* @throws Exception
*/
@Test
@@ -145,7 +145,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
* the deletion of bla/*, which actually means bla/test4.xml should be
* removed from the archive. The file something/bla (without ending, named
* like the folder) should not be deleted.
- *
+ *
* @throws Exception
*/
@Test
@@ -187,7 +187,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Tries to delete the folder "la" from an archive file. This should result in
* the deletion of la/*, which should not match any files/folders.
- *
+ *
* @throws Exception
*/
@Test
@@ -229,7 +229,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Tries to delete the folder "test.txt" from an archive file.
* This should not match any files/folders.
- *
+ *
* @throws Exception
*/
@Test
@@ -271,7 +271,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Tries to delete the file "bla/test5.xml" from an archive. This should
* result in the deletion of "bla/test5.xml".
- *
+ *
* @throws Exception
*/
@Test
@@ -314,7 +314,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Tries to delete the file "bla" from an archive. This should
* result in the deletion of nothing.
- *
+ *
* @throws Exception
*/
@Test
@@ -358,7 +358,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
* Tries to delete and then add a file with the same name.
* Should delete test/test3.xml and adds test.txt with the name
* test/test3.xml
- *
+ *
* @throws Exception
*/
@Test
@@ -425,12 +425,12 @@ public final class ChangeSetTestCase extends AbstractTestCase {
in.close();
}
rmdir(check);
- }
+ }
}
/**
* Checks for the correct ChangeSetResults
- *
+ *
* @throws Exception
*/
@Test
@@ -494,7 +494,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
* Tries to delete a directory with a file and adds a new directory with a
* new file and with the same name. Should delete dir1/* and add
* dir1/test.txt at the end
- *
+ *
* @throws Exception
*/
@Test
@@ -541,7 +541,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Adds a file to a zip archive. Deletes an other file.
- *
+ *
* @throws Exception
*/
@Test
@@ -588,7 +588,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Adds a file to a zip archive. Deletes an other file.
- *
+ *
* @throws Exception
*/
@Test
@@ -634,7 +634,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* add blub/test.txt + delete blub Should add blub/test.txt and delete it
* afterwards. In this example, the archive should stay untouched.
- *
+ *
* @throws Exception
*/
@Test
@@ -683,7 +683,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* delete bla + add bla/test.txt + delete bla Deletes dir1/* first, then
* suppresses the add of bla.txt because there is a delete operation later.
- *
+ *
* @throws Exception
*/
@Test
@@ -733,7 +733,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Simple Delete from a zip file.
- *
+ *
* @throws Exception
*/
@Test
@@ -774,7 +774,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Simple delete from a tar file
- *
+ *
* @throws Exception
*/
@Test
@@ -812,7 +812,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Simple delete from a jar file
- *
+ *
* @throws Exception
*/
@Test
@@ -902,7 +902,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Delete from a jar file and add another file
- *
+ *
* @throws Exception
*/
@Test
@@ -948,7 +948,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Simple delete from an ar file
- *
+ *
* @throws Exception
*/
@Test
@@ -987,7 +987,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Deletes a file from an AR-archive and adds another
- *
+ *
* @throws Exception
*/
@Test
@@ -1033,10 +1033,10 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* TODO: Move operations are not supported currently
- *
+ *
* mv dir1/test.text dir2/test.txt + delete dir1 Moves the file to dir2 and
* deletes everything in dir1
- *
+ *
* @throws Exception
*/
@Test
@@ -1045,12 +1045,12 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* TODO: Move operations are not supported currently
- *
+ *
* add dir1/bla.txt + mv dir1/test.text dir2/test.txt + delete dir1
- *
+ *
* Add dir1/bla.txt should be surpressed. All other dir1 files will be
* deleted, except dir1/test.text will be moved
- *
+ *
* @throws Exception
*/
@Test
@@ -1059,7 +1059,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Check can add a file to an empty archive.
- *
+ *
* @throws Exception
*/
@Test
@@ -1094,7 +1094,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
out.close();
}
if (ais != null) {
- ais.close(); // will close is
+ ais.close(); // will close is
} else if (is != null){
is.close();
}
@@ -1105,7 +1105,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Check can delete and add a file to an archive with a single file
- *
+ *
* @throws Exception
*/
@Test
@@ -1143,7 +1143,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
out.close();
}
if (ais != null) {
- ais.close(); // will close is
+ ais.close(); // will close is
} else if (is != null){
is.close();
}
@@ -1154,7 +1154,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Check can add and delete a file to an archive with a single file
- *
+ *
* @throws Exception
*/
@Test
@@ -1176,7 +1176,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
out = factory.createArchiveOutputStream(archivename,
new FileOutputStream(result));
final File file = getFile("test.txt");
- final ArchiveEntry entry = out.createArchiveEntry(file,"bla/test.txt");
+ final ArchiveEntry entry = out.createArchiveEntry(file,"bla/test.txt");
changes.add(entry, new FileInputStream(file));
archiveList.add("bla/test.txt");
@@ -1192,7 +1192,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
out.close();
}
if (ais != null) {
- ais.close(); // will close is
+ ais.close(); // will close is
} else if (is != null){
is.close();
}
@@ -1204,7 +1204,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Adds a file with the same filename as an existing file from the stream.
* Should lead to a replacement.
- *
+ *
* @throws Exception
*/
@Test
@@ -1249,7 +1249,7 @@ public final class ChangeSetTestCase extends AbstractTestCase {
/**
* Adds a file with the same filename as an existing file from the stream.
* Should lead to a replacement.
- *
+ *
* @throws Exception
*/
@Test
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/compressors/DeflateTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/compressors/DeflateTestCase.java b/src/test/java/org/apache/commons/compress/compressors/DeflateTestCase.java
index 81f0d77..468cb57 100644
--- a/src/test/java/org/apache/commons/compress/compressors/DeflateTestCase.java
+++ b/src/test/java/org/apache/commons/compress/compressors/DeflateTestCase.java
@@ -35,7 +35,7 @@ public final class DeflateTestCase extends AbstractTestCase {
/**
* Tests the creation of a DEFLATE archive with zlib header
- *
+ *
* @throws Exception
*/
@Test
@@ -52,7 +52,7 @@ public final class DeflateTestCase extends AbstractTestCase {
/**
* Tests the creation of a "raw" DEFLATE archive (without zlib header)
- *
+ *
* @throws Exception
*/
@Test
@@ -70,7 +70,7 @@ public final class DeflateTestCase extends AbstractTestCase {
/**
* Tests the extraction of a DEFLATE archive with zlib header
- *
+ *
* @throws Exception
*/
@Test
@@ -95,7 +95,7 @@ public final class DeflateTestCase extends AbstractTestCase {
/**
* Tests the extraction of a "raw" DEFLATE archive (without zlib header)
- *
+ *
* @throws Exception
*/
@Test
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/compressors/DetectCompressorTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/compressors/DetectCompressorTestCase.java b/src/test/java/org/apache/commons/compress/compressors/DetectCompressorTestCase.java
index 7f3d316..a59bc60 100644
--- a/src/test/java/org/apache/commons/compress/compressors/DetectCompressorTestCase.java
+++ b/src/test/java/org/apache/commons/compress/compressors/DetectCompressorTestCase.java
@@ -56,7 +56,7 @@ public final class DetectCompressorTestCase {
factorySetTrue = new CompressorStreamFactory();
factorySetTrue.setDecompressConcatenated(true);
factorySetFalse = new CompressorStreamFactory();
- factorySetFalse.setDecompressConcatenated(false);
+ factorySetFalse.setDecompressConcatenated(false);
}
static class TestData {
@@ -91,17 +91,17 @@ public final class DetectCompressorTestCase {
new TestData("multiple.xz", new char[]{'a'}, factorySetFalse, false),
new TestData("multiple.xz", new char[]{'a'}, factory, false),
};
-
+
@Test
public void testDetection() throws Exception {
- final CompressorInputStream bzip2 = getStreamFor("bla.txt.bz2");
+ final CompressorInputStream bzip2 = getStreamFor("bla.txt.bz2");
assertNotNull(bzip2);
assertTrue(bzip2 instanceof BZip2CompressorInputStream);
final CompressorInputStream gzip = getStreamFor("bla.tgz");
assertNotNull(gzip);
assertTrue(gzip instanceof GzipCompressorInputStream);
-
+
final CompressorInputStream pack200 = getStreamFor("bla.pack");
assertNotNull(pack200);
assertTrue(pack200 instanceof Pack200CompressorInputStream);
@@ -262,7 +262,7 @@ public final class DetectCompressorTestCase {
final CompressorInputStream in = getStreamFor(test.fileName, fac);
assertNotNull("Test entry "+i,in);
for (final char entry : test.entryNames) {
- assertEquals("Test entry" + i, entry, in.read());
+ assertEquals("Test entry" + i, entry, in.read());
}
assertEquals(0, in.available());
assertEquals(-1, in.read());
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java b/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
index 62c7b15..02fda3e 100644
--- a/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
+++ b/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
@@ -145,7 +145,7 @@ public final class GZipTestCase extends AbstractTestCase {
try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) {
content = IOUtils.toByteArray(fis);
}
-
+
final ByteArrayOutputStream bout = new ByteArrayOutputStream();
final GzipParameters parameters = new GzipParameters();
@@ -171,7 +171,7 @@ public final class GZipTestCase extends AbstractTestCase {
try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) {
content = IOUtils.toByteArray(fis);
}
-
+
final ByteArrayOutputStream bout = new ByteArrayOutputStream();
final GzipParameters parameters = new GzipParameters();
@@ -200,7 +200,7 @@ public final class GZipTestCase extends AbstractTestCase {
} catch (final IllegalArgumentException e) {
// expected
}
-
+
try {
parameters.setCompressionLevel(-5);
fail("IllegalArgumentException not thrown");
@@ -214,16 +214,16 @@ public final class GZipTestCase extends AbstractTestCase {
try (FileInputStream fis = new FileInputStream(getFile("test3.xml"))) {
content = IOUtils.toByteArray(fis);
}
-
+
final ByteArrayOutputStream bout = new ByteArrayOutputStream();
-
+
final GzipParameters parameters = new GzipParameters();
parameters.setCompressionLevel(compressionLevel);
final GzipCompressorOutputStream out = new GzipCompressorOutputStream(bout, parameters);
IOUtils.copy(new ByteArrayInputStream(content), out);
out.flush();
out.close();
-
+
assertEquals("extra flags (XFL)", flag, bout.toByteArray()[8]);
}
@@ -241,7 +241,7 @@ public final class GZipTestCase extends AbstractTestCase {
public void testExtraFlagsDefaultCompression() throws Exception {
testExtraFlags(Deflater.DEFAULT_COMPRESSION, 0);
}
-
+
@Test
public void testOverWrite() throws Exception {
final GzipCompressorOutputStream out = new GzipCompressorOutputStream(new ByteArrayOutputStream());
@@ -257,7 +257,7 @@ public final class GZipTestCase extends AbstractTestCase {
@Test
public void testMetadataRoundTrip() throws Exception {
final ByteArrayOutputStream bout = new ByteArrayOutputStream();
-
+
final GzipParameters parameters = new GzipParameters();
parameters.setCompressionLevel(Deflater.BEST_COMPRESSION);
parameters.setModificationTime(123456000);
@@ -268,7 +268,7 @@ public final class GZipTestCase extends AbstractTestCase {
".xml"))) {
IOUtils.copy(fis, out);
}
-
+
final GzipCompressorInputStream input =
new GzipCompressorInputStream(new ByteArrayInputStream(bout.toByteArray()));
input.close();
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java b/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
index 208224f..e26b637 100644
--- a/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
+++ b/src/test/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStreamTest.java
@@ -37,7 +37,7 @@ import org.junit.Test;
public class BrotliCompressorInputStreamTest extends AbstractTestCase {
/**
- * Test bridge works fine
+ * Test bridge works fine
* @throws {@link IOException}
*/
@Test
@@ -55,9 +55,9 @@ public class BrotliCompressorInputStreamTest extends AbstractTestCase {
bos.write(readByte);
}
Assert.assertArrayEquals(b, bos.toByteArray());
- }
+ }
}
-
+
@Test
public void testCachingIsEnabledByDefaultAndBrotliIsPresent() {
assertEquals(BrotliUtils.CachedAvailability.CACHED_AVAILABLE, BrotliUtils.getCachedBrotliAvailability());
@@ -86,7 +86,7 @@ public class BrotliCompressorInputStreamTest extends AbstractTestCase {
BrotliUtils.setCacheBrotliAvailablity(true);
}
}
-
+
@Test
public void availableShouldReturnZero() throws IOException {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/compressors/bzip2/BlockSortTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/compressors/bzip2/BlockSortTest.java b/src/test/java/org/apache/commons/compress/compressors/bzip2/BlockSortTest.java
index ee30d37..37b27ef 100644
--- a/src/test/java/org/apache/commons/compress/compressors/bzip2/BlockSortTest.java
+++ b/src/test/java/org/apache/commons/compress/compressors/bzip2/BlockSortTest.java
@@ -62,19 +62,19 @@ public class BlockSortTest {
and the original line has been 0
*/
- private static final byte[] FIXTURE_BWT = { (byte) 128, 0, 3, (byte) 254, 2, 1,
+ private static final byte[] FIXTURE_BWT = { (byte) 128, 0, 3, (byte) 254, 2, 1,
(byte) 252, (byte) 255, (byte) 253 };
private static final int[] FIXTURE_SORTED = {
0, 1, 7, 6, 8, 2, 3, 5, 4
};
- private static final byte[] FIXTURE2 = {
- 'C', 'o', 'm', 'm', 'o', 'n', 's', ' ', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's',
+ private static final byte[] FIXTURE2 = {
+ 'C', 'o', 'm', 'm', 'o', 'n', 's', ' ', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's',
};
private static final byte[] FIXTURE2_BWT = {
- 's', 's', ' ', 'r', 'o', 'm', 'o', 'o', 'C', 'C', 'm', 'm', 'p', 'n', 's', 'e',
+ 's', 's', ' ', 'r', 'o', 'm', 'o', 'o', 'C', 'C', 'm', 'm', 'p', 'n', 's', 'e',
};
@Test
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/utils/CharsetsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/utils/CharsetsTest.java b/src/test/java/org/apache/commons/compress/utils/CharsetsTest.java
index 2433448..5823edc 100644
--- a/src/test/java/org/apache/commons/compress/utils/CharsetsTest.java
+++ b/src/test/java/org/apache/commons/compress/utils/CharsetsTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,7 +25,7 @@ import org.junit.Test;
/**
* Sanity checks for {@link Charsets}.
- *
+ *
* @version $Id$
*/
public class CharsetsTest {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java b/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
index 042acad..2bba435 100644
--- a/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
+++ b/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
[3/4] commons-compress git commit: Remove trailing white spaces on
all lines.
Posted by gg...@apache.org.
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
index 63db4cb..df78eae 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
@@ -27,7 +27,7 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
/**
* An entry in a 7z archive.
- *
+ *
* @NotThreadSafe
* @since 1.6
*/
@@ -48,7 +48,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
private long crc, compressedCrc;
private long size, compressedSize;
private Iterable<? extends SevenZMethodConfiguration> contentMethods;
-
+
public SevenZArchiveEntry() {
}
@@ -61,7 +61,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public String getName() {
return name;
}
-
+
/**
* Set this entry's name.
*
@@ -96,7 +96,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public boolean isDirectory() {
return isDirectory;
}
-
+
/**
* Sets whether or not this entry represents a directory.
*
@@ -105,10 +105,10 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public void setDirectory(final boolean isDirectory) {
this.isDirectory = isDirectory;
}
-
+
/**
* Indicates whether this is an "anti-item" used in differential backups,
- * meaning it should delete the same file from a previous backup.
+ * meaning it should delete the same file from a previous backup.
* @return true if it is an anti-item, false otherwise
*/
public boolean isAntiItem() {
@@ -118,7 +118,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
/**
* Sets whether this is an "anti-item" used in differential backups,
* meaning it should delete the same file from a previous backup.
- * @param isAntiItem true if it is an anti-item, false otherwise
+ * @param isAntiItem true if it is an anti-item, false otherwise
*/
public void setAntiItem(final boolean isAntiItem) {
this.isAntiItem = isAntiItem;
@@ -131,7 +131,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public boolean getHasCreationDate() {
return hasCreationDate;
}
-
+
/**
* Sets whether this entry has got a creation date at all.
* @param hasCreationDate whether the entry has got a creation date
@@ -139,7 +139,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public void setHasCreationDate(final boolean hasCreationDate) {
this.hasCreationDate = hasCreationDate;
}
-
+
/**
* Gets the creation date.
* @throws UnsupportedOperationException if the entry hasn't got a
@@ -153,7 +153,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
throw new UnsupportedOperationException(
"The entry doesn't have this timestamp");
}
-
+
/**
* Sets the creation date using NTFS time (100 nanosecond units
* since 1 January 1601)
@@ -162,7 +162,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public void setCreationDate(final long ntfsCreationDate) {
this.creationDate = ntfsCreationDate;
}
-
+
/**
* Sets the creation date,
* @param creationDate the creation date
@@ -205,7 +205,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
throw new UnsupportedOperationException(
"The entry doesn't have this timestamp");
}
-
+
/**
* Sets the last modified date using NTFS time (100 nanosecond
* units since 1 January 1601)
@@ -214,7 +214,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public void setLastModifiedDate(final long ntfsLastModifiedDate) {
this.lastModifiedDate = ntfsLastModifiedDate;
}
-
+
/**
* Sets the last modified date,
* @param lastModifiedDate the last modified date
@@ -225,7 +225,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
this.lastModifiedDate = javaTimeToNtfsTime(lastModifiedDate);
}
}
-
+
/**
* Returns whether this entry has got an access date at all.
* @return whether this entry has got an access date at all.
@@ -255,7 +255,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
throw new UnsupportedOperationException(
"The entry doesn't have this timestamp");
}
-
+
/**
* Sets the access date using NTFS time (100 nanosecond units
* since 1 January 1601)
@@ -264,7 +264,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public void setAccessDate(final long ntfsAccessDate) {
this.accessDate = ntfsAccessDate;
}
-
+
/**
* Sets the access date,
* @param accessDate the access date
@@ -411,7 +411,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
public long getSize() {
return size;
}
-
+
/**
* Set this entry's file size.
*
@@ -429,7 +429,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
long getCompressedSize() {
return compressedSize;
}
-
+
/**
* Set this entry's compressed file size.
*
@@ -497,7 +497,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
final long realTime = ntfsEpoch.getTimeInMillis() + (ntfsTime / (10*1000));
return new Date(realTime);
}
-
+
/**
* Converts Java time to NTFS time.
* @param date the Java time
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
index e0de903..ecee9a9 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
@@ -66,7 +66,7 @@ import org.apache.commons.compress.utils.IOUtils;
* encrypted, neither file names nor file
* contents can be read, but the use of
* encryption isn't plausibly deniable.
- *
+ *
* @NotThreadSafe
* @since 1.6
*/
@@ -672,7 +672,7 @@ public class SevenZFile implements Closeable {
files[i] = new SevenZArchiveEntry();
}
BitSet isEmptyStream = null;
- BitSet isEmptyFile = null;
+ BitSet isEmptyFile = null;
BitSet isAnti = null;
while (true) {
final int propertyType = getUnsignedByte(header);
@@ -839,7 +839,7 @@ public class SevenZFile implements Closeable {
streamMap.packStreamOffsets = new long[numPackSizes];
for (int i = 0; i < numPackSizes; i++) {
streamMap.packStreamOffsets[i] = nextPackStreamOffset;
- nextPackStreamOffset += archive.packSizes[i];
+ nextPackStreamOffset += archive.packSizes[i];
}
streamMap.folderFirstFileIndex = new int[numFolders];
@@ -945,7 +945,7 @@ public class SevenZFile implements Closeable {
/**
* Reads a byte of data.
- *
+ *
* @return the byte read, or -1 if end of input is reached
* @throws IOException
* if an I/O error has occurred
@@ -976,7 +976,7 @@ public class SevenZFile implements Closeable {
/**
* Reads data into an array of bytes.
- *
+ *
* @param b the array to write data to
* @return the number of bytes read, or -1 if end of input is reached
* @throws IOException
@@ -988,7 +988,7 @@ public class SevenZFile implements Closeable {
/**
* Reads data into an array of bytes.
- *
+ *
* @param b the array to write data to
* @param off offset into the buffer to start filling at
* @param len of bytes to read
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java
index dc0140d..2ed2175 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java
@@ -125,7 +125,7 @@ public class SevenZOutputFile implements Closeable {
/**
* Closes the archive, calling {@link #finish} if necessary.
- *
+ *
* @throws IOException on error
*/
@Override
@@ -138,11 +138,11 @@ public class SevenZOutputFile implements Closeable {
/**
* Create an archive entry using the inputFile and entryName provided.
- *
+ *
* @param inputFile file to create an entry from
* @param entryName the name to use
* @return the ArchiveEntry set up with details from the file
- *
+ *
* @throws IOException on error
*/
public SevenZArchiveEntry createArchiveEntry(final File inputFile,
@@ -159,7 +159,7 @@ public class SevenZOutputFile implements Closeable {
*
* The caller must then write the content to the archive and call
* {@link #closeArchiveEntry()} to complete the process.
- *
+ *
* @param archiveEntry describes the entry
* @throws IOException on error
*/
@@ -240,7 +240,7 @@ public class SevenZOutputFile implements Closeable {
/**
* Finishes the addition of entries to this archive, without closing it.
- *
+ *
* @throws IOException if archive is already closed.
*/
public void finish() throws IOException {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
index 4f090ec..71c943d 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
@@ -127,7 +127,7 @@ public class TarArchiveInputStream extends ArchiveInputStream {
* @param recordSize the record size to use
*/
public TarArchiveInputStream(final InputStream is, final int blockSize, final int recordSize) {
- this(is, blockSize, recordSize, null);
+ this(is, blockSize, recordSize, null);
}
/**
@@ -189,7 +189,7 @@ public class TarArchiveInputStream extends ArchiveInputStream {
return (int) (entrySize - entryOffset);
}
-
+
/**
* Skips over and discards <code>n</code> bytes of data from this input
* stream. The <code>skip</code> method may, for a variety of reasons, end
@@ -198,8 +198,8 @@ public class TarArchiveInputStream extends ArchiveInputStream {
* or end of entry before <code>n</code> bytes have been skipped; are only
* two possibilities. The actual number of bytes skipped is returned. If
* <code>n</code> is negative, no bytes are skipped.
- *
- *
+ *
+ *
* @param n
* the number of bytes to be skipped.
* @return the actual number of bytes skipped.
@@ -213,7 +213,7 @@ public class TarArchiveInputStream extends ArchiveInputStream {
}
final long available = entrySize - entryOffset;
- final long skipped = is.skip(Math.min(n, available));
+ final long skipped = is.skip(Math.min(n, available));
count(skipped);
entryOffset += skipped;
return skipped;
@@ -332,7 +332,7 @@ public class TarArchiveInputStream extends ArchiveInputStream {
return currEntry;
}
-
+
/**
* The last record block should be written at the full size, so skip any
* additional space used to fill a record after an entry
@@ -414,7 +414,7 @@ public class TarArchiveInputStream extends ArchiveInputStream {
protected boolean isEOFRecord(final byte[] record) {
return record == null || ArchiveUtils.isArrayZero(record, recordSize);
}
-
+
/**
* Read a record from the input stream and return the data.
*
@@ -551,7 +551,7 @@ public class TarArchiveInputStream extends ArchiveInputStream {
public ArchiveEntry getNextEntry() throws IOException {
return getNextTarEntry();
}
-
+
/**
* Tries to read the next record rewinding the stream if it is not a EOF record.
*
@@ -604,9 +604,9 @@ public class TarArchiveInputStream extends ArchiveInputStream {
}
numToRead = Math.min(numToRead, available());
-
+
totalRead = is.read(buf, offset, numToRead);
-
+
if (totalRead == -1) {
if (numToRead > 0) {
throw new IOException("Truncated TAR archive");
@@ -636,7 +636,7 @@ public class TarArchiveInputStream extends ArchiveInputStream {
/**
* Get the current TAR Archive Entry that this input stream is processing
- *
+ *
* @return The current Archive Entry
*/
public TarArchiveEntry getCurrentEntry() {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
index 9dde016..751840d 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
@@ -73,7 +73,7 @@ public interface TarConstants {
* be expressed in octal char notation (that's 7 sevens, octal).
*/
long MAXID = 07777777L;
-
+
/**
* The length of the checksum field in a header buffer.
*/
@@ -92,7 +92,7 @@ public interface TarConstants {
int SIZELEN = 12;
/**
- * The maximum size of a file in a tar archive
+ * The maximum size of a file in a tar archive
* which can be expressed in octal char notation (that's 11 sevens, octal).
*/
long MAXSIZE = 077777777777L;
@@ -133,67 +133,67 @@ public interface TarConstants {
/**
* Length of the prefix field.
- *
+ *
*/
int PREFIXLEN = 155;
/**
* The length of the access time field in an old GNU header buffer.
- *
+ *
*/
int ATIMELEN_GNU = 12;
/**
* The length of the created time field in an old GNU header buffer.
- *
+ *
*/
int CTIMELEN_GNU = 12;
/**
- * The length of the multivolume start offset field in an old GNU header buffer.
- *
+ * The length of the multivolume start offset field in an old GNU header buffer.
+ *
*/
int OFFSETLEN_GNU = 12;
/**
- * The length of the long names field in an old GNU header buffer.
- *
+ * The length of the long names field in an old GNU header buffer.
+ *
*/
int LONGNAMESLEN_GNU = 4;
/**
- * The length of the padding field in an old GNU header buffer.
- *
+ * The length of the padding field in an old GNU header buffer.
+ *
*/
int PAD2LEN_GNU = 1;
/**
- * The sum of the length of all sparse headers in an old GNU header buffer.
- *
+ * The sum of the length of all sparse headers in an old GNU header buffer.
+ *
*/
int SPARSELEN_GNU = 96;
/**
- * The length of the is extension field in an old GNU header buffer.
- *
+ * The length of the is extension field in an old GNU header buffer.
+ *
*/
int ISEXTENDEDLEN_GNU = 1;
/**
- * The length of the real size field in an old GNU header buffer.
- *
+ * The length of the real size field in an old GNU header buffer.
+ *
*/
int REALSIZELEN_GNU = 12;
/**
- * The sum of the length of all sparse headers in a sparse header buffer.
- *
+ * The sum of the length of all sparse headers in a sparse header buffer.
+ *
*/
int SPARSELEN_GNU_SPARSE = 504;
/**
- * The length of the is extension field in a sparse header buffer.
- *
+ * The length of the is extension field in a sparse header buffer.
+ *
*/
int ISEXTENDEDLEN_GNU_SPARSE = 1;
@@ -337,21 +337,21 @@ public interface TarConstants {
/**
* Length of the prefix field in xstar archives.
- *
+ *
* @since 1.11
*/
int PREFIXLEN_XSTAR = 131;
/**
* The length of the access time field in a xstar header buffer.
- *
+ *
* @since 1.11
*/
int ATIMELEN_XSTAR = 12;
/**
* The length of the created time field in a xstar header buffer.
- *
+ *
* @since 1.11
*/
int CTIMELEN_XSTAR = 12;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java
index ec5b767..9448cdc 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java
@@ -147,7 +147,7 @@ public class TarUtils {
return result;
}
- /**
+ /**
* Compute the value contained in a byte buffer. If the most
* significant bit of the first byte in the buffer is set, this
* bit is ignored and the rest of the buffer is interpreted as a
@@ -303,7 +303,7 @@ public class TarUtils {
/**
* Copy a name into a buffer.
* Copies characters from the name into the buffer
- * starting at the specified offset.
+ * starting at the specified offset.
* If the buffer is longer than the name, the buffer
* is filled with trailing NULs.
* If the name is longer than the buffer,
@@ -332,7 +332,7 @@ public class TarUtils {
/**
* Copy a name into a buffer.
* Copies characters from the name into the buffer
- * starting at the specified offset.
+ * starting at the specified offset.
* If the buffer is longer than the name, the buffer
* is filled with trailing NULs.
* If the name is longer than the buffer,
@@ -369,7 +369,7 @@ public class TarUtils {
/**
* Fill buffer with unsigned octal number, padded with leading zeroes.
- *
+ *
* @param value number to convert to octal - treated as unsigned
* @param buffer destination buffer
* @param offset starting offset in buffer
@@ -407,7 +407,7 @@ public class TarUtils {
* Uses {@link #formatUnsignedOctalString} to format
* the value as an octal string with leading zeros.
* The converted number is followed by space and NUL
- *
+ *
* @param value The value to write
* @param buf The buffer to receive the output
* @param offset The starting offset into the buffer
@@ -428,11 +428,11 @@ public class TarUtils {
/**
* Write an octal long integer into a buffer.
- *
+ *
* Uses {@link #formatUnsignedOctalString} to format
* the value as an octal string with leading zeros.
* The converted number is followed by a space.
- *
+ *
* @param value The value to write as octal
* @param buf The destinationbuffer.
* @param offset The starting offset into the buffer.
@@ -453,11 +453,11 @@ public class TarUtils {
/**
* Write an long integer into a buffer as an octal string if this
* will fit, or as a binary number otherwise.
- *
+ *
* Uses {@link #formatUnsignedOctalString} to format
* the value as an octal string with leading zeros.
* The converted number is followed by a space.
- *
+ *
* @param value The value to write into the buffer.
* @param buf The destination buffer.
* @param offset The starting offset into the buffer.
@@ -530,7 +530,7 @@ public class TarUtils {
/**
* Writes an octal value into a buffer.
- *
+ *
* Uses {@link #formatUnsignedOctalString} to format
* the value as an octal string with leading zeros.
* The converted number is followed by NUL and then space.
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java b/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
index aa05a99..846c9e1 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
@@ -39,7 +39,7 @@ public abstract class AbstractUnicodeExtraField implements ZipExtraField {
/**
* Assemble as unicode extension from the name/comment and
* encoding of the original zip entry.
- *
+ *
* @param text The file name or comment.
* @param bytes The encoded of the filename or comment in the zip
* file.
@@ -63,7 +63,7 @@ public abstract class AbstractUnicodeExtraField implements ZipExtraField {
/**
* Assemble as unicode extension from the name/comment and
* encoding of the original zip entry.
- *
+ *
* @param text The file name or comment.
* @param bytes The encoded of the filename or comment in the zip
* file.
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/BinaryTree.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/BinaryTree.java b/src/main/java/org/apache/commons/compress/archivers/zip/BinaryTree.java
index c73e3d5..9b3c377 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/BinaryTree.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/BinaryTree.java
@@ -26,7 +26,7 @@ import java.util.Arrays;
/**
* Binary tree of positive values.
- *
+ *
* @author Emmanuel Bourg
* @since 1.7
*/
@@ -34,11 +34,11 @@ class BinaryTree {
/** Value in the array indicating an undefined node */
private static final int UNDEFINED = -1;
-
+
/** Value in the array indicating a non leaf node */
private static final int NODE = -2;
- /**
+ /**
* The array representing the binary tree. The root is at index 0,
* the left children are at 2*i+1 and the right children at 2*i+2.
*/
@@ -51,7 +51,7 @@ class BinaryTree {
/**
* Adds a leaf to the tree.
- *
+ *
* @param node the index of the node where the path is appended
* @param path the path to the leaf (bits are parsed from the right to the left)
* @param depth the number of nodes in the path
@@ -68,7 +68,7 @@ class BinaryTree {
} else {
// mark the current node as a non leaf node
tree[node] = NODE;
-
+
// move down the path recursively
final int nextChild = 2 * node + 1 + (path & 1);
addLeaf(nextChild, path >>> 1, depth - 1, value);
@@ -77,7 +77,7 @@ class BinaryTree {
/**
* Reads a value from the specified bit stream.
- *
+ *
* @param stream
* @return the value decoded, or -1 if the end of the stream is reached
*/
@@ -102,7 +102,7 @@ class BinaryTree {
}
}
}
-
+
/**
* Decodes the packed binary tree from the specified stream.
@@ -119,7 +119,7 @@ class BinaryTree {
/** The maximum bit length for a value (16 or lower) */
int maxLength = 0;
-
+
final int[] originalBitLengths = new int[totalNumberOfValues];
int pos = 0;
for (final byte b : encodedTree) {
@@ -130,7 +130,7 @@ class BinaryTree {
for (int j = 0; j < numberOfValues; j++) {
originalBitLengths[pos++] = bitLength;
}
-
+
maxLength = Math.max(maxLength, bitLength);
}
@@ -139,7 +139,7 @@ class BinaryTree {
for (int k = 0; k < permutation.length; k++) {
permutation[k] = k;
}
-
+
int c = 0;
final int[] sortedBitLengths = new int[originalBitLengths.length];
for (int k = 0; k < originalBitLengths.length; k++) {
@@ -149,10 +149,10 @@ class BinaryTree {
if (originalBitLengths[l] == k) {
// put the value at the current position in the sorted array...
sortedBitLengths[c] = k;
-
+
// ...and memorize the permutation
- permutation[c] = l;
-
+ permutation[c] = l;
+
c++;
}
}
@@ -173,10 +173,10 @@ class BinaryTree {
}
codes[permutation[i]] = code;
}
-
+
// build the tree
final BinaryTree tree = new BinaryTree(maxLength);
-
+
for (int k = 0; k < codes.length; k++) {
final int bitLength = originalBitLengths[k];
if (bitLength > 0) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/BitStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/BitStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/BitStream.java
index 98e80fe..fb737b7 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/BitStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/BitStream.java
@@ -38,7 +38,7 @@ class BitStream extends BitInputStream {
/**
* Returns the next bit.
- *
+ *
* @return The next bit (0 or 1) or -1 if the end of the stream has been reached
*/
int nextBit() throws IOException {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/CircularBuffer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/CircularBuffer.java b/src/main/java/org/apache/commons/compress/archivers/zip/CircularBuffer.java
index 69b980f..8502e46 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/CircularBuffer.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/CircularBuffer.java
@@ -21,7 +21,7 @@ package org.apache.commons.compress.archivers.zip;
/**
* Circular byte buffer.
- *
+ *
* @author Emmanuel Bourg
* @since 1.7
*/
@@ -29,7 +29,7 @@ class CircularBuffer {
/** Size of the buffer */
private final int size;
-
+
/** The buffer */
private final byte[] buffer;
@@ -73,7 +73,7 @@ class CircularBuffer {
/**
* Copy a previous interval in the buffer to the current position.
- *
+ *
* @param distance the distance from the current write position
* @param length the number of bytes to copy
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java
index 01dd4e2..b3be60b 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java
@@ -28,9 +28,9 @@ import java.io.InputStream;
* method.
* <p>
* The algorithm is described in the ZIP File Format Specification.
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">ZIP File Format Specification</a>
- *
+ *
* @author Emmanuel Bourg
* @since 1.7
*/
@@ -38,7 +38,7 @@ class ExplodingInputStream extends InputStream {
/** The underlying stream containing the compressed data */
private final InputStream in;
-
+
/** The stream of bits read from the input stream */
private BitStream bits;
@@ -85,7 +85,7 @@ class ExplodingInputStream extends InputStream {
/**
* Reads the encoded binary trees and prepares the bit stream.
- *
+ *
* @throws IOException
*/
private void init() throws IOException {
@@ -96,7 +96,7 @@ class ExplodingInputStream extends InputStream {
lengthTree = BinaryTree.decode(in, 64);
distanceTree = BinaryTree.decode(in, 64);
-
+
bits = new BitStream(in);
}
}
@@ -116,7 +116,7 @@ class ExplodingInputStream extends InputStream {
*/
private void fillBuffer() throws IOException {
init();
-
+
final int bit = bits.nextBit();
if (bit == 1) {
// literal value
@@ -131,7 +131,7 @@ class ExplodingInputStream extends InputStream {
// end of stream reached, nothing left to decode
return;
}
-
+
buffer.put(literal);
} else if (bit == 0) {
@@ -144,7 +144,7 @@ class ExplodingInputStream extends InputStream {
return;
}
final int distance = distanceHigh << distanceLowSize | distanceLow;
-
+
int length = lengthTree.read(bits);
if (length == 63) {
length += bits.nextBits(8);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java b/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
index 63ba415..dd363aa 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java
@@ -20,7 +20,7 @@ package org.apache.commons.compress.archivers.zip;
/**
* Parser/encoder for the "general purpose bit" field in ZIP's local
* file and central directory headers.
- *
+ *
* @since 1.1
* @NotThreadSafe
*/
@@ -196,7 +196,7 @@ public final class GeneralPurposeBit implements Cloneable {
/**
* Parses the supported flags from the given archive data.
- *
+ *
* @param data local file header or a central directory entry.
* @param offset offset at which the general purpose bit starts
* @return parsed flags
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java b/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java
index 5436ccf..8540632 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java
@@ -80,7 +80,7 @@ public abstract class PKWareExtraHeader implements ZipExtraField {
protected PKWareExtraHeader(final ZipShort headerId) {
this.headerId = headerId;
}
-
+
/**
* Get the header id.
*
@@ -193,7 +193,7 @@ public abstract class PKWareExtraHeader implements ZipExtraField {
setLocalFileDataData(tmp);
}
}
-
+
/**
* Encryption algorithm.
*
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/UnicodeCommentExtraField.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/UnicodeCommentExtraField.java b/src/main/java/org/apache/commons/compress/archivers/zip/UnicodeCommentExtraField.java
index b961114..0b5ba41 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/UnicodeCommentExtraField.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/UnicodeCommentExtraField.java
@@ -33,13 +33,13 @@ public class UnicodeCommentExtraField extends AbstractUnicodeExtraField {
public static final ZipShort UCOM_ID = new ZipShort(0x6375);
- public UnicodeCommentExtraField () {
+ public UnicodeCommentExtraField () {
}
/**
* Assemble as unicode comment extension from the name given as
* text as well as the encoded bytes actually written to the archive.
- *
+ *
* @param text The file name
* @param bytes the bytes actually written to the archive
* @param off The offset of the encoded comment in <code>bytes</code>.
@@ -54,7 +54,7 @@ public class UnicodeCommentExtraField extends AbstractUnicodeExtraField {
/**
* Assemble as unicode comment extension from the comment given as
* text as well as the bytes actually written to the archive.
- *
+ *
* @param comment The file comment
* @param bytes the bytes actually written to the archive
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/UnicodePathExtraField.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/UnicodePathExtraField.java b/src/main/java/org/apache/commons/compress/archivers/zip/UnicodePathExtraField.java
index f1cf6c1..5c63eea 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/UnicodePathExtraField.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/UnicodePathExtraField.java
@@ -21,7 +21,7 @@ package org.apache.commons.compress.archivers.zip;
/**
* Info-ZIP Unicode Path Extra Field (0x7075):
*
- * <p>Stores the UTF-8 version of the file name field as stored in the
+ * <p>Stores the UTF-8 version of the file name field as stored in the
* local header and central directory header.</p>
*
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">PKWARE
@@ -33,13 +33,13 @@ public class UnicodePathExtraField extends AbstractUnicodeExtraField {
public static final ZipShort UPATH_ID = new ZipShort(0x7075);
- public UnicodePathExtraField () {
+ public UnicodePathExtraField () {
}
/**
* Assemble as unicode path extension from the name given as
* text as well as the encoded bytes actually written to the archive.
- *
+ *
* @param text The file name
* @param bytes the bytes actually written to the archive
* @param off The offset of the encoded filename in <code>bytes</code>.
@@ -53,7 +53,7 @@ public class UnicodePathExtraField extends AbstractUnicodeExtraField {
/**
* Assemble as unicode path extension from the name given as
* text as well as the encoded bytes actually written to the archive.
- *
+ *
* @param name The file name
* @param bytes the bytes actually written to the archive
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
index d33db30..11c904c 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/UnshrinkingInputStream.java
@@ -33,10 +33,10 @@ class UnshrinkingInputStream extends LZWInputStream {
private static final int MAX_CODE_SIZE = 13;
private static final int MAX_TABLE_SIZE = 1 << MAX_CODE_SIZE;
private final boolean[] isUsed;
-
+
/**
* IOException is not actually thrown!
- *
+ *
* @param inputStream
* @throws IOException IOException is not actually thrown!
*/
@@ -64,7 +64,7 @@ class UnshrinkingInputStream extends LZWInputStream {
}
return idx;
}
-
+
private void partialClear() {
final boolean[] isParent = new boolean[MAX_TABLE_SIZE];
for (int i = 0; i < isUsed.length; i++) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
----------------------------------------------------------------------
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 ba88a2f..d744a04 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
@@ -176,7 +176,7 @@ public class ZipArchiveEntry extends java.util.zip.ZipEntry
* @param entryName name of the entry
*/
public ZipArchiveEntry(final File inputFile, final String entryName) {
- this(inputFile.isDirectory() && !entryName.endsWith("/") ?
+ this(inputFile.isDirectory() && !entryName.endsWith("/") ?
entryName + "/" : entryName);
if (inputFile.isFile()){
setSize(inputFile.length());
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
index eef8990..54b69ae 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
@@ -358,7 +358,7 @@ public class ZipArchiveInputStream extends ArchiveInputStream {
*/
private void processZip64Extra(final ZipLong size, final ZipLong cSize) {
final Zip64ExtendedInformationExtraField z64 =
- (Zip64ExtendedInformationExtraField)
+ (Zip64ExtendedInformationExtraField)
current.entry.getExtraField(Zip64ExtendedInformationExtraField.HEADER_ID);
current.usesZip64 = z64 != null;
if (!current.hasDataDescriptor) {
@@ -410,7 +410,7 @@ public class ZipArchiveInputStream extends ArchiveInputStream {
if (offset > buffer.length || length < 0 || offset < 0 || buffer.length - offset < length) {
throw new ArrayIndexOutOfBoundsException();
}
-
+
ZipUtil.checkRequestedFeatures(current.entry);
if (!supportsDataDescriptorFor(current.entry)) {
throw new UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature.DATA_DESCRIPTOR,
@@ -430,11 +430,11 @@ public class ZipArchiveInputStream extends ArchiveInputStream {
throw new UnsupportedZipFeatureException(ZipMethod.getMethodByCode(current.entry.getMethod()),
current.entry);
}
-
+
if (read >= 0) {
current.crc.update(buffer, offset, read);
}
-
+
return read;
}
@@ -1069,7 +1069,7 @@ public class ZipArchiveInputStream extends ArchiveInputStream {
/** the number of bytes already returned */
private long pos = 0;
-
+
/**
* Creates a new <code>BoundedInputStream</code> that wraps the given input
* stream and limits it to a certain size.
@@ -1124,7 +1124,7 @@ public class ZipArchiveInputStream extends ArchiveInputStream {
pos += skippedBytes;
return skippedBytes;
}
-
+
@Override
public int available() throws IOException {
if (max >= 0 && pos >= max) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
index cb594f2..52e1334 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
@@ -242,7 +242,7 @@ public class ZipArchiveOutputStream extends ArchiveOutputStream {
* whether to use the general purpose bit flag when writing UTF-8
* filenames or not.
*/
- private boolean useUTF8Flag = true;
+ private boolean useUTF8Flag = true;
/**
* Whether to encode non-encodable file names as UTF-8.
@@ -428,7 +428,7 @@ public class ZipArchiveOutputStream extends ArchiveOutputStream {
* this mode is not valid when the output stream is not seekable
* and the uncompressed size is unknown when {@link
* #putArchiveEntry} is called.</p>
- *
+ *
* <p>If no entry inside the resulting archive requires Zip64
* extensions then {@link Zip64Mode#Never Never} will create the
* smallest archive. {@link Zip64Mode#AsNeeded AsNeeded} will
@@ -498,7 +498,7 @@ public class ZipArchiveOutputStream extends ArchiveOutputStream {
* Writes all necessary data for this entry.
* @throws IOException on error
* @throws Zip64RequiredException if the entry's uncompressed or
- * compressed size exceeds 4 GByte and {@link #setUseZip64}
+ * compressed size exceeds 4 GByte and {@link #setUseZip64}
* is {@link Zip64Mode#Never}.
*/
@Override
@@ -716,10 +716,10 @@ public class ZipArchiveOutputStream extends ArchiveOutputStream {
}
/**
- * {@inheritDoc}
+ * {@inheritDoc}
* @throws ClassCastException if entry is not an instance of ZipArchiveEntry
* @throws Zip64RequiredException if the entry's uncompressed or
- * compressed size is known to exceed 4 GByte and {@link #setUseZip64}
+ * compressed size is known to exceed 4 GByte and {@link #setUseZip64}
* is {@link Zip64Mode#Never}.
*/
@Override
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java
index d38b556..dacd063 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java
@@ -30,14 +30,14 @@ import java.nio.ByteBuffer;
* {@link java.nio.charset.Charset Charset} and one implementation,
* which copes with simple 8 bit charsets, because java-1.4 did not
* support Cp437 in java.nio.</p>
- *
+ *
* <p>The main reason for defining an own encoding layer comes from
* the problems with {@link java.lang.String#getBytes(String)
* String.getBytes}, which encodes unknown characters as ASCII
* quotation marks ('?'). Quotation marks are per definition an
* invalid filename on some operating systems like Windows, which
* leads to ignored ZIP entries.</p>
- *
+ *
* <p>All implementations should implement this interface in a
* reentrant way.</p>
*/
@@ -45,7 +45,7 @@ public interface ZipEncoding {
/**
* Check, whether the given string may be losslessly encoded using this
* encoding.
- *
+ *
* @param name A filename or ZIP comment.
* @return Whether the given name may be encoded with out any losses.
*/
@@ -54,15 +54,15 @@ public interface ZipEncoding {
/**
* Encode a filename or a comment to a byte array suitable for
* storing it to a serialized zip entry.
- *
+ *
* <p>Examples for CP 437 (in pseudo-notation, right hand side is
* C-style notation):</p>
* <pre>
* encode("\u20AC_for_Dollar.txt") = "%U20AC_for_Dollar.txt"
* encode("\u00D6lf\u00E4sser.txt") = "\231lf\204sser.txt"
* </pre>
- *
- * @param name A filename or ZIP comment.
+ *
+ * @param name A filename or ZIP comment.
* @return A byte buffer with a backing array containing the
* encoded name. Unmappable characters or malformed
* character sequences are mapped to a sequence of utf-16
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
index 4b16b52..9b13cf3 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
@@ -988,7 +988,7 @@ public class ZipFile implements Closeable {
/**
* Skips the given number of bytes or throws an EOFException if
* skipping failed.
- */
+ */
private void skipBytes(final int count) throws IOException {
long currentPosition = archive.position();
long newPosition = currentPosition + count;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ZipMethod.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipMethod.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipMethod.java
index f4fbe59..9aab7de 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipMethod.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipMethod.java
@@ -23,17 +23,17 @@ import java.util.Map;
import java.util.zip.ZipEntry;
/**
- * List of known compression methods
- *
+ * List of known compression methods
+ *
* Many of these methods are currently not supported by commons compress
- *
+ *
* @since 1.5
*/
public enum ZipMethod {
/**
* Compression method 0 for uncompressed entries.
- *
+ *
* @see ZipEntry#STORED
*/
STORED(ZipEntry.STORED),
@@ -41,7 +41,7 @@ public enum ZipMethod {
/**
* UnShrinking.
* dynamic Lempel-Ziv-Welch-Algorithm
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression
* method: (2 bytes)</a>
*/
@@ -49,7 +49,7 @@ public enum ZipMethod {
/**
* Reduced with compression factor 1.
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression
* method: (2 bytes)</a>
*/
@@ -57,7 +57,7 @@ public enum ZipMethod {
/**
* Reduced with compression factor 2.
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression
* method: (2 bytes)</a>
*/
@@ -65,7 +65,7 @@ public enum ZipMethod {
/**
* Reduced with compression factor 3.
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression
* method: (2 bytes)</a>
*/
@@ -73,7 +73,7 @@ public enum ZipMethod {
/**
* Reduced with compression factor 4.
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression
* method: (2 bytes)</a>
*/
@@ -81,7 +81,7 @@ public enum ZipMethod {
/**
* Imploding.
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression
* method: (2 bytes)</a>
*/
@@ -89,7 +89,7 @@ public enum ZipMethod {
/**
* Tokenization.
- *
+ *
* @see <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression
* method: (2 bytes)</a>
*/
@@ -97,35 +97,35 @@ public enum ZipMethod {
/**
* Compression method 8 for compressed (deflated) entries.
- *
+ *
* @see ZipEntry#DEFLATED
*/
DEFLATED(ZipEntry.DEFLATED),
/**
* Compression Method 9 for enhanced deflate.
- *
+ *
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
ENHANCED_DEFLATED(9),
/**
* PKWARE Data Compression Library Imploding.
- *
+ *
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
PKWARE_IMPLODING(10),
/**
* Compression Method 12 for bzip2.
- *
+ *
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
BZIP2(12),
/**
* Compression Method 14 for LZMA.
- *
+ *
* @see <a href="http://www.7-zip.org/sdk.html">http://www.7-zip.org/sdk.html</a>
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
@@ -134,21 +134,21 @@ public enum ZipMethod {
/**
* Compression Method 96 for Jpeg compression.
- *
+ *
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
JPEG(96),
/**
* Compression Method 97 for WavPack.
- *
+ *
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
WAVPACK(97),
/**
* Compression Method 98 for PPMd.
- *
+ *
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
PPMD(98),
@@ -156,7 +156,7 @@ public enum ZipMethod {
/**
* Compression Method 99 for AES encryption.
- *
+ *
* @see <a href="http://www.winzip.com/wz54.htm">http://www.winzip.com/wz54.htm</a>
*/
AES_ENCRYPTED(99),
@@ -193,9 +193,9 @@ public enum ZipMethod {
/**
* the code of the compression method.
- *
+ *
* @see ZipArchiveEntry#getMethod()
- *
+ *
* @return an integer code for the method
*/
public int getCode() {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java
index cc3660b..97fd341 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java
@@ -259,7 +259,7 @@ public abstract class ZipUtil {
* <p>If the field is null or the CRCs don't match, return null
* instead.</p>
*/
- private static
+ private static
String getUnicodeStringIfOriginalMatches(final AbstractUnicodeExtraField f,
final byte[] orig) {
if (f != null) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/changes/Change.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/changes/Change.java b/src/main/java/org/apache/commons/compress/changes/Change.java
index 8db217c..fb901bd 100644
--- a/src/main/java/org/apache/commons/compress/changes/Change.java
+++ b/src/main/java/org/apache/commons/compress/changes/Change.java
@@ -24,7 +24,7 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
/**
* Change holds meta information about a change.
- *
+ *
* @Immutable
*/
class Change {
@@ -59,7 +59,7 @@ class Change {
/**
* Construct a change which adds an entry.
- *
+ *
* @param pEntry the entry details
* @param pInput the InputStream for the entry data
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/changes/ChangeSet.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/changes/ChangeSet.java b/src/main/java/org/apache/commons/compress/changes/ChangeSet.java
index 42e3d3f..c0f8c61 100644
--- a/src/main/java/org/apache/commons/compress/changes/ChangeSet.java
+++ b/src/main/java/org/apache/commons/compress/changes/ChangeSet.java
@@ -29,7 +29,7 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
* ChangeSet collects and performs changes to an archive.
* Putting delete changes in this ChangeSet from multiple threads can
* cause conflicts.
- *
+ *
* @NotThreadSafe
*/
public final class ChangeSet {
@@ -37,8 +37,8 @@ public final class ChangeSet {
private final Set<Change> changes = new LinkedHashSet<>();
/**
- * Deletes the file with the filename from the archive.
- *
+ * Deletes the file with the filename from the archive.
+ *
* @param filename
* the filename of the file to delete
*/
@@ -47,8 +47,8 @@ public final class ChangeSet {
}
/**
- * Deletes the directory tree from the archive.
- *
+ * Deletes the directory tree from the archive.
+ *
* @param dirName
* the name of the directory tree to delete
*/
@@ -58,7 +58,7 @@ public final class ChangeSet {
/**
* Adds a new archive entry to the archive.
- *
+ *
* @param pEntry
* the entry to add
* @param pInput
@@ -72,7 +72,7 @@ public final class ChangeSet {
* Adds a new archive entry to the archive.
* If replace is set to true, this change will replace all other additions
* done in this ChangeSet and all existing entries in the original stream.
- *
+ *
* @param pEntry
* the entry to add
* @param pInput
@@ -86,7 +86,7 @@ public final class ChangeSet {
/**
* Adds an addition change.
- *
+ *
* @param pChange
* the change which should result in an addition
*/
@@ -120,7 +120,7 @@ public final class ChangeSet {
/**
* Adds an delete change.
- *
+ *
* @param pChange
* the change which should result in a deletion
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/changes/ChangeSetPerformer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/changes/ChangeSetPerformer.java b/src/main/java/org/apache/commons/compress/changes/ChangeSetPerformer.java
index b16b3eb..bec6b64 100644
--- a/src/main/java/org/apache/commons/compress/changes/ChangeSetPerformer.java
+++ b/src/main/java/org/apache/commons/compress/changes/ChangeSetPerformer.java
@@ -37,7 +37,7 @@ import org.apache.commons.compress.utils.IOUtils;
* This class is thread safe and can be used multiple times.
* It operates on a copy of the ChangeSet. If the ChangeSet changes,
* a new Performer must be created.
- *
+ *
* @ThreadSafe
* @Immutable
*/
@@ -55,10 +55,10 @@ public class ChangeSetPerformer {
/**
* Performs all changes collected in this ChangeSet on the input stream and
* streams the result to the output stream. Perform may be called more than once.
- *
+ *
* This method finishes the stream, no other entries should be added
* after that.
- *
+ *
* @param in
* the InputStream to perform the changes on
* @param out
@@ -75,10 +75,10 @@ public class ChangeSetPerformer {
/**
* Performs all changes collected in this ChangeSet on the ZipFile and
* streams the result to the output stream. Perform may be called more than once.
- *
+ *
* This method finishes the stream, no other entries should be added
* after that.
- *
+ *
* @param in
* the ZipFile to perform the changes on
* @param out
@@ -96,10 +96,10 @@ public class ChangeSetPerformer {
/**
* Performs all changes collected in this ChangeSet on the input entries and
* streams the result to the output stream.
- *
+ *
* This method finishes the stream, no other entries should be added
* after that.
- *
+ *
* @param entryIterator
* the entries to perform the changes on
* @param out
@@ -163,8 +163,8 @@ public class ChangeSetPerformer {
for (final Iterator<Change> it = workingSet.iterator(); it.hasNext();) {
final Change change = it.next();
- if (change.type() == Change.TYPE_ADD &&
- !change.isReplaceMode() &&
+ if (change.type() == Change.TYPE_ADD &&
+ !change.isReplaceMode() &&
!results.hasBeenAdded(change.getEntry().getName())) {
copyStream(change.getInput(), out, change.getEntry());
it.remove();
@@ -179,7 +179,7 @@ public class ChangeSetPerformer {
* Checks if an ArchiveEntry is deleted later in the ChangeSet. This is
* necessary if an file is added with this ChangeSet, but later became
* deleted in the same set.
- *
+ *
* @param entry
* the entry to check
* @return true, if this entry has an deletion change later, false otherwise
@@ -205,7 +205,7 @@ public class ChangeSetPerformer {
/**
* Copies the ArchiveEntry to the Output stream
- *
+ *
* @param in
* the stream to read the data from
* @param out
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java b/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
index 8f100b3..788dccf 100644
--- a/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
+++ b/src/main/java/org/apache/commons/compress/changes/ChangeSetResults.java
@@ -38,7 +38,7 @@ public class ChangeSetResults {
}
/**
- * Adds the name of a file to the result list which has been
+ * Adds the name of a file to the result list which has been
* copied from the source stream to the target stream.
* @param fileName the file name which has been added from the original stream
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/CompressorException.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/CompressorException.java b/src/main/java/org/apache/commons/compress/compressors/CompressorException.java
index 7c1a356..9af3e69 100644
--- a/src/main/java/org/apache/commons/compress/compressors/CompressorException.java
+++ b/src/main/java/org/apache/commons/compress/compressors/CompressorException.java
@@ -29,7 +29,7 @@ public class CompressorException extends Exception {
/**
* Constructs a new exception with the specified detail message. The cause
* is not initialized.
- *
+ *
* @param message
* the detail message
*/
@@ -39,7 +39,7 @@ public class CompressorException extends Exception {
/**
* Constructs a new exception with the specified detail message and cause.
- *
+ *
* @param message
* the detail message
* @param cause
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java
index 0b2be21..8f30860 100644
--- a/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java
@@ -26,7 +26,7 @@ public abstract class CompressorInputStream extends InputStream {
/**
* Increments the counter of already read bytes.
* Doesn't increment if the EOF has been hit (read == -1)
- *
+ *
* @param read the number of bytes read
*
* @since 1.1
@@ -38,7 +38,7 @@ public abstract class CompressorInputStream extends InputStream {
/**
* Increments the counter of already read bytes.
* Doesn't increment if the EOF has been hit (read == -1)
- *
+ *
* @param read the number of bytes read
*/
protected void count(final long read) {
@@ -49,7 +49,7 @@ public abstract class CompressorInputStream extends InputStream {
/**
* Decrements the counter of already read bytes.
- *
+ *
* @param pushedBack the number of bytes pushed back.
* @since 1.7
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
index ab9d5fd..3a1f2dc 100644
--- a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
+++ b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
@@ -68,9 +68,9 @@ import org.apache.commons.compress.utils.Sets;
* implementations you should extend CompressorStreamFactory and override the
* appropriate methods (and call their implementation from super of course).
* </p>
- *
+ *
* Example (Compressing a file):
- *
+ *
* <pre>
* final OutputStream out = Files.newOutputStream(output.toPath());
* CompressorOutputStream cos = new CompressorStreamFactory()
@@ -78,9 +78,9 @@ import org.apache.commons.compress.utils.Sets;
* IOUtils.copy(Files.newInputStream(input.toPath()), cos);
* cos.close();
* </pre>
- *
+ *
* Example (Decompressing a file):
- *
+ *
* <pre>
* final InputStream is = Files.newInputStream(input.toPath());
* CompressorInputStream in = new CompressorStreamFactory().createCompressorInputStream(CompressorStreamFactory.BZIP2,
@@ -88,7 +88,7 @@ import org.apache.commons.compress.utils.Sets;
* IOUtils.copy(in, Files.newOutputStream(output.toPath()));
* in.close();
* </pre>
- *
+ *
* @Immutable provided that the deprecated method setDecompressConcatenated is
* not used.
* @ThreadSafe even if the deprecated method setDecompressConcatenated is used
@@ -102,15 +102,15 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Constant (value {@value}) used to identify the BROTLI compression
* algorithm.
- *
+ *
* @since 1.14
*/
public static final String BROTLI = "br";
-
+
/**
* Constant (value {@value}) used to identify the BZIP2 compression
* algorithm.
- *
+ *
* @since 1.1
*/
public static final String BZIP2 = "bzip2";
@@ -118,7 +118,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Constant (value {@value}) used to identify the GZIP compression
* algorithm.
- *
+ *
* @since 1.1
*/
public static final String GZIP = "gz";
@@ -126,21 +126,21 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Constant (value {@value}) used to identify the PACK200 compression
* algorithm.
- *
+ *
* @since 1.3
*/
public static final String PACK200 = "pack200";
/**
* Constant (value {@value}) used to identify the XZ compression method.
- *
+ *
* @since 1.4
*/
public static final String XZ = "xz";
/**
* Constant (value {@value}) used to identify the LZMA compression method.
- *
+ *
* @since 1.6
*/
public static final String LZMA = "lzma";
@@ -148,7 +148,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Constant (value {@value}) used to identify the "framed" Snappy
* compression method.
- *
+ *
* @since 1.7
*/
public static final String SNAPPY_FRAMED = "snappy-framed";
@@ -156,7 +156,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Constant (value {@value}) used to identify the "raw" Snappy compression
* method. Not supported as an output stream type.
- *
+ *
* @since 1.7
*/
public static final String SNAPPY_RAW = "snappy-raw";
@@ -164,14 +164,14 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Constant (value {@value}) used to identify the traditional Unix compress
* method. Not supported as an output stream type.
- *
+ *
* @since 1.7
*/
public static final String Z = "z";
/**
* Constant (value {@value}) used to identify the Deflate compress method.
- *
+ *
* @since 1.9
*/
public static final String DEFLATE = "deflate";
@@ -371,7 +371,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
private SortedMap<String, CompressorStreamProvider> compressorInputStreamProviders;
private SortedMap<String, CompressorStreamProvider> compressorOutputStreamProviders;
-
+
/**
* If true, decompress until the end of the input. If false, stop after the
* first stream and leave the input position to point to the next byte after
@@ -415,7 +415,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Create an instance with the provided decompress Concatenated option.
- *
+ *
* @param decompressUntilEOF
* if true, decompress until the end of the input; if false, stop
* after the first stream and leave the input position to point
@@ -503,7 +503,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
* Create an compressor input stream from an input stream, autodetecting the
* compressor type from the first few bytes of the stream. The InputStream
* must support marks, like BufferedInputStream.
- *
+ *
* @param in
* the input stream
* @return the compressor input stream
@@ -520,7 +520,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
/**
* Creates a compressor input stream from a compressor name and an input
* stream.
- *
+ *
* @param name
* of the compressor, i.e. {@value #GZIP}, {@value #BZIP2},
* {@value #XZ}, {@value #LZMA}, {@value #PACK200},
@@ -558,7 +558,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
if (BZIP2.equalsIgnoreCase(name)) {
return new BZip2CompressorInputStream(in, actualDecompressConcatenated);
}
-
+
if (BROTLI.equalsIgnoreCase(name)) {
if (!BrotliUtils.isBrotliCompressionAvailable()) {
throw new CompressorException("Brotli compression is not available.");
@@ -622,14 +622,14 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
if (compressorStreamProvider != null) {
return compressorStreamProvider.createCompressorInputStream(name, in, actualDecompressConcatenated);
}
-
+
throw new CompressorException("Compressor: " + name + " not found.");
}
/**
* Creates an compressor output stream from an compressor name and an output
* stream.
- *
+ *
* @param name
* the compressor name, i.e. {@value #GZIP}, {@value #BZIP2},
* {@value #XZ}, {@value #PACK200}, {@value #SNAPPY_FRAMED},
@@ -760,5 +760,5 @@ public class CompressorStreamFactory implements CompressorStreamProvider {
}
this.decompressConcatenated = decompressConcatenated;
}
-
+
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/CompressorStreamProvider.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamProvider.java b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamProvider.java
index 139847a..b0c8431 100644
--- a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamProvider.java
+++ b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamProvider.java
@@ -26,7 +26,7 @@ import java.util.Set;
/**
* Creates Compressor {@link CompressorInputStream}s and
* {@link CompressorOutputStream}s.
- *
+ *
* @since 1.13
*/
public interface CompressorStreamProvider {
@@ -34,7 +34,7 @@ public interface CompressorStreamProvider {
/**
* Creates a compressor input stream from a compressor name and an input
* stream.
- *
+ *
* @param name
* of the compressor, i.e.
* {@value org.apache.commons.compress.compressors.CompressorStreamFactory#GZIP},
@@ -66,7 +66,7 @@ public interface CompressorStreamProvider {
/**
* Creates a compressor output stream from an compressor name and an output
* stream.
- *
+ *
* @param name
* the compressor name, i.e.
* {@value org.apache.commons.compress.compressors.CompressorStreamFactory#GZIP},
@@ -88,14 +88,14 @@ public interface CompressorStreamProvider {
/**
* Gets all the input stream compressor names for this provider
- *
+ *
* @return all the input compressor names for this provider
*/
Set<String> getInputStreamCompressorNames();
/**
* Gets all the output stream compressor names for this provider
- *
+ *
* @return all the output compressor names for this provider
*/
Set<String> getOutputStreamCompressorNames();
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
index 6c4bc55..6dc9946 100644
--- a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
@@ -25,11 +25,11 @@ import org.apache.commons.compress.compressors.CompressorInputStream;
/**
* {@link CompressorInputStream} implementation to decode Brotli encoded stream.
* Library relies on <a href="https://github.com/google/brotli">Google brotli</a>
- *
+ *
* @since 1.14
*/
public class BrotliCompressorInputStream extends CompressorInputStream {
-
+
private final org.brotli.dec.BrotliInputStream decIS;
public BrotliCompressorInputStream(final InputStream in) throws IOException {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
index a613ad8..17937e8 100644
--- a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java
@@ -35,7 +35,7 @@ import org.apache.commons.compress.utils.CloseShieldFilterInputStream;
/**
* An input stream that decompresses from the BZip2 format to be read as any other stream.
- *
+ *
* @NotThreadSafe
*/
public class BZip2CompressorInputStream extends CompressorInputStream implements
@@ -101,7 +101,7 @@ public class BZip2CompressorInputStream extends CompressorInputStream implements
* Constructs a new BZip2CompressorInputStream which decompresses bytes
* read from the specified stream. This doesn't suppprt decompressing
* concatenated .bz2 files.
- *
+ *
* @param in the InputStream from which this object should be created
* @throws IOException
* if the stream content is malformed or an I/O error occurs.
@@ -147,7 +147,7 @@ public class BZip2CompressorInputStream extends CompressorInputStream implements
/*
* (non-Javadoc)
- *
+ *
* @see java.io.InputStream#read(byte[], int, int)
*/
@Override
@@ -878,7 +878,7 @@ public class BZip2CompressorInputStream extends CompressorInputStream implements
/**
* Initializes the {@link #tt} array.
- *
+ *
* This method is called when the required length of the array is known.
* I don't initialize it at construction time to avoid unneccessary
* memory allocation when compressing small files.
@@ -901,13 +901,13 @@ public class BZip2CompressorInputStream extends CompressorInputStream implements
/**
* Checks if the signature matches what is expected for a bzip2 file.
- *
+ *
* @param signature
* the bytes to check
* @param length
* the number of bytes to check
* @return true, if this stream is a bzip2 compressed stream, false otherwise
- *
+ *
* @since 1.1
*/
public static boolean matches(final byte[] signature, final int length) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java
index a26fac8..ba2beb1 100644
--- a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java
@@ -344,7 +344,7 @@ public class BZip2CompressorOutputStream extends CompressorOutputStream
/**
* Constructs a new {@code BZip2CompressorOutputStream} with a blocksize of 900k.
*
- * @param out
+ * @param out
* the destination stream.
*
* @throws IOException
@@ -516,7 +516,7 @@ public class BZip2CompressorOutputStream extends CompressorOutputStream
/**
* Writes magic bytes like BZ on the first position of the stream
- * and bytes indiciating the file-format, which is
+ * and bytes indiciating the file-format, which is
* huffmanised, followed by a digit indicating blockSize100k.
* @throws IOException if the magic bytes could not been written
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java b/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java
index 18c37cd..69819e3 100644
--- a/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java
+++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java
@@ -36,7 +36,7 @@ import java.util.BitSet;
* <pre>
* CompressCommons
* Commons Compress
- * CompressCommons
+ * CompressCommons
* essCommons Compr
* mmons CompressCo
* mons CompressCom
@@ -251,7 +251,7 @@ class BlockSort {
* bucket 'ra' with sort index 5. The fully sorted order then becomes.
*
* fmap = { 5, 3, 0, 4, 1, 2 }
- *
+ *
*/
/**
@@ -261,12 +261,12 @@ class BlockSort {
* @param eclass points from the index of a character inside the
* block to the first index in fmap that contains the
* bucket of its suffix that is sorted in this step.
- * @param lo lower boundary of the fmap-interval to be sorted
- * @param hi upper boundary of the fmap-interval to be sorted
+ * @param lo lower boundary of the fmap-interval to be sorted
+ * @param hi upper boundary of the fmap-interval to be sorted
*/
- private void fallbackSimpleSort(final int[] fmap,
- final int[] eclass,
- final int lo,
+ private void fallbackSimpleSort(final int[] fmap,
+ final int[] eclass,
+ final int lo,
final int hi) {
if (lo == hi) {
return;
@@ -336,12 +336,12 @@ class BlockSort {
* @param eclass points from the index of a character inside the
* block to the first index in fmap that contains the
* bucket of its suffix that is sorted in this step.
- * @param loSt lower boundary of the fmap-interval to be sorted
- * @param hiSt upper boundary of the fmap-interval to be sorted
+ * @param loSt lower boundary of the fmap-interval to be sorted
+ * @param hiSt upper boundary of the fmap-interval to be sorted
*/
- private void fallbackQSort3(final int[] fmap,
- final int[] eclass,
- final int loSt,
+ private void fallbackQSort3(final int[] fmap,
+ final int[] eclass,
+ final int loSt,
final int hiSt) {
int lo, unLo, ltLo, hi, unHi, gtHi, n;
@@ -359,9 +359,9 @@ class BlockSort {
}
/* LBZ2: Random partitioning. Median of 3 sometimes fails to
- avoid bad cases. Median of 9 seems to help but
+ avoid bad cases. Median of 9 seems to help but
looks rather expensive. This too seems to work but
- is cheaper. Guidance for the magic constants
+ is cheaper. Guidance for the magic constants
7621 and 32768 is taken from Sedgewick's algorithms
book, chapter 35.
*/
@@ -369,7 +369,7 @@ class BlockSort {
final long r3 = r % 3;
long med;
if (r3 == 0) {
- med = eclass[fmap[lo]];
+ med = eclass[fmap[lo]];
} else if (r3 == 1) {
med = eclass[fmap[(lo + hi) >>> 1]];
} else {
@@ -387,10 +387,10 @@ class BlockSort {
break;
}
n = eclass[fmap[unLo]] - (int) med;
- if (n == 0) {
- fswap(fmap, unLo, ltLo);
- ltLo++; unLo++;
- continue;
+ if (n == 0) {
+ fswap(fmap, unLo, ltLo);
+ ltLo++; unLo++;
+ continue;
}
if (n > 0) {
break;
@@ -403,9 +403,9 @@ class BlockSort {
}
n = eclass[fmap[unHi]] - (int) med;
if (n == 0) {
- fswap(fmap, unHi, gtHi);
- gtHi--; unHi--;
- continue;
+ fswap(fmap, unHi, gtHi);
+ gtHi--; unHi--;
+ continue;
}
if (n < 0) {
break;
@@ -511,7 +511,7 @@ class BlockSort {
--*/
/*-- LBZ2: set sentinel bits for block-end detection --*/
- for (i = 0; i < 32; i++) {
+ for (i = 0; i < 32; i++) {
bhtab.set(nblock + 2 * i);
bhtab.clear(nblock + 2 * i + 1);
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java b/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java
index 5358b3a..bb6ef80 100644
--- a/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java
+++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java
@@ -81,7 +81,7 @@ final class Rand {
/**
* Return the random number at a specific index.
- *
+ *
* @param i the index
* @return the random number
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java
index b10bd8a..5e726f8 100644
--- a/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java
@@ -35,7 +35,7 @@ public class DeflateCompressorInputStream extends CompressorInputStream {
private static final int MAGIC_2b = 0x5e;
private static final int MAGIC_2c = 0x9c;
private static final int MAGIC_2d = 0xda;
-
+
private final InputStream in;
private final Inflater inflater;
@@ -62,7 +62,7 @@ public class DeflateCompressorInputStream extends CompressorInputStream {
inflater = new Inflater(!parameters.withZlibHeader());
in = new InflaterInputStream(inputStream, inflater);
}
-
+
/** {@inheritDoc} */
@Override
public int read() throws IOException {
@@ -100,18 +100,18 @@ public class DeflateCompressorInputStream extends CompressorInputStream {
inflater.end();
}
}
-
+
/**
* Checks if the signature matches what is expected for a zlib / deflated file
* with the zlib header.
- *
+ *
* @param signature
* the bytes to check
* @param length
* the number of bytes to check
* @return true, if this stream is zlib / deflate compressed with a header
* stream, false otherwise
- *
+ *
* @since 1.10
*/
public static boolean matches(final byte[] signature, final int length) {
[4/4] commons-compress git commit: Remove trailing white spaces on
all lines.
Posted by gg...@apache.org.
Remove trailing white spaces on all lines.
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/6b12eab8
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/6b12eab8
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/6b12eab8
Branch: refs/heads/master
Commit: 6b12eab8ef3255eed66d2e382411e973883f608a
Parents: a0aec90
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed Nov 1 16:25:38 2017 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed Nov 1 16:25:38 2017 -0600
----------------------------------------------------------------------
.../commons/compress/MemoryLimitException.java | 2 +-
.../compress/archivers/ArchiveEntry.java | 8 +-
.../compress/archivers/ArchiveException.java | 6 +-
.../compress/archivers/ArchiveInputStream.java | 22 +-
.../compress/archivers/ArchiveOutputStream.java | 16 +-
.../archivers/ArchiveStreamFactory.java | 4 +-
.../archivers/ArchiveStreamProvider.java | 10 +-
.../StreamingNotSupportedException.java | 12 +-
.../compress/archivers/ar/ArArchiveEntry.java | 12 +-
.../archivers/ar/ArArchiveInputStream.java | 20 +-
.../archivers/ar/ArArchiveOutputStream.java | 6 +-
.../compress/archivers/arj/ArjArchiveEntry.java | 8 +-
.../archivers/arj/ArjArchiveInputStream.java | 34 +-
.../compress/archivers/arj/LocalFileHeader.java | 12 +-
.../compress/archivers/arj/MainHeader.java | 4 +-
.../archivers/cpio/CpioArchiveEntry.java | 182 ++--
.../archivers/cpio/CpioArchiveInputStream.java | 32 +-
.../archivers/cpio/CpioArchiveOutputStream.java | 34 +-
.../compress/archivers/cpio/CpioConstants.java | 8 +-
.../compress/archivers/cpio/CpioUtil.java | 12 +-
.../archivers/dump/DumpArchiveInputStream.java | 2 +-
.../archivers/dump/TapeInputStream.java | 4 +-
.../archivers/jar/JarArchiveInputStream.java | 8 +-
.../archivers/jar/JarArchiveOutputStream.java | 4 +-
.../archivers/sevenz/AES256SHA256Decoder.java | 8 +-
.../compress/archivers/sevenz/Archive.java | 4 +-
.../commons/compress/archivers/sevenz/CLI.java | 4 +-
.../compress/archivers/sevenz/Coders.java | 8 +-
.../compress/archivers/sevenz/Folder.java | 4 +-
.../archivers/sevenz/SevenZArchiveEntry.java | 38 +-
.../compress/archivers/sevenz/SevenZFile.java | 12 +-
.../archivers/sevenz/SevenZOutputFile.java | 10 +-
.../archivers/tar/TarArchiveInputStream.java | 22 +-
.../compress/archivers/tar/TarConstants.java | 48 +-
.../compress/archivers/tar/TarUtils.java | 20 +-
.../zip/AbstractUnicodeExtraField.java | 4 +-
.../compress/archivers/zip/BinaryTree.java | 30 +-
.../compress/archivers/zip/BitStream.java | 2 +-
.../compress/archivers/zip/CircularBuffer.java | 6 +-
.../archivers/zip/ExplodingInputStream.java | 16 +-
.../archivers/zip/GeneralPurposeBit.java | 4 +-
.../archivers/zip/PKWareExtraHeader.java | 4 +-
.../archivers/zip/UnicodeCommentExtraField.java | 6 +-
.../archivers/zip/UnicodePathExtraField.java | 8 +-
.../archivers/zip/UnshrinkingInputStream.java | 6 +-
.../compress/archivers/zip/ZipArchiveEntry.java | 2 +-
.../archivers/zip/ZipArchiveInputStream.java | 12 +-
.../archivers/zip/ZipArchiveOutputStream.java | 10 +-
.../compress/archivers/zip/ZipEncoding.java | 12 +-
.../commons/compress/archivers/zip/ZipFile.java | 2 +-
.../compress/archivers/zip/ZipMethod.java | 44 +-
.../commons/compress/archivers/zip/ZipUtil.java | 2 +-
.../apache/commons/compress/changes/Change.java | 4 +-
.../commons/compress/changes/ChangeSet.java | 18 +-
.../compress/changes/ChangeSetPerformer.java | 22 +-
.../compress/changes/ChangeSetResults.java | 2 +-
.../compressors/CompressorException.java | 4 +-
.../compressors/CompressorInputStream.java | 6 +-
.../compressors/CompressorStreamFactory.java | 48 +-
.../compressors/CompressorStreamProvider.java | 10 +-
.../brotli/BrotliCompressorInputStream.java | 4 +-
.../bzip2/BZip2CompressorInputStream.java | 12 +-
.../bzip2/BZip2CompressorOutputStream.java | 4 +-
.../compress/compressors/bzip2/BlockSort.java | 46 +-
.../compress/compressors/bzip2/Rand.java | 2 +-
.../deflate/DeflateCompressorInputStream.java | 10 +-
.../gzip/GzipCompressorOutputStream.java | 32 +-
.../compressors/gzip/GzipParameters.java | 12 +-
.../lzma/LZMACompressorInputStream.java | 4 +-
.../compressors/lzw/LZWInputStream.java | 6 +-
.../pack200/Pack200CompressorInputStream.java | 4 +-
.../pack200/Pack200CompressorOutputStream.java | 2 +-
.../FramedSnappyCompressorInputStream.java | 4 +-
.../compressors/snappy/PureJavaCrc32C.java | 1030 +++++++++---------
.../snappy/SnappyCompressorInputStream.java | 14 +-
.../compressors/z/ZCompressorInputStream.java | 12 +-
.../commons/compress/utils/ArchiveUtils.java | 30 +-
.../commons/compress/utils/BitInputStream.java | 4 +-
.../compress/utils/BoundedInputStream.java | 4 +-
.../utils/CRC32VerifyingInputStream.java | 2 +-
.../commons/compress/utils/CharsetNames.java | 22 +-
.../utils/ChecksumVerifyingInputStream.java | 2 +-
.../compress/utils/CountingInputStream.java | 2 +-
.../compress/utils/CountingOutputStream.java | 2 +-
.../apache/commons/compress/utils/IOUtils.java | 6 +-
.../commons/compress/utils/Iterators.java | 4 +-
.../apache/commons/compress/utils/Lists.java | 4 +-
.../compress/utils/ServiceLoaderIterator.java | 2 +-
.../org/apache/commons/compress/utils/Sets.java | 2 +-
.../commons/compress/ArchiveReadTest.java | 8 +-
.../commons/compress/ArchiveUtilsTest.java | 2 +-
.../commons/compress/ChainingTestCase.java | 2 +-
.../compress/DetectArchiverTestCase.java | 4 +-
.../apache/commons/compress/IOMethodsTest.java | 2 +-
.../archivers/ArchiveStreamFactoryTest.java | 12 +-
.../compress/archivers/LongPathTest.java | 6 +-
.../compress/archivers/LongSymLinkTest.java | 6 +-
.../compress/archivers/SevenZTestCase.java | 14 +-
.../commons/compress/archivers/ZipTestCase.java | 24 +-
.../archivers/sevenz/SevenZFileTest.java | 2 +-
.../archivers/tar/TarArchiveEntryTest.java | 4 +-
.../compress/archivers/tar/TarLister.java | 2 +-
.../compress/archivers/tar/TarUtilsTest.java | 4 +-
.../archivers/zip/AsiExtraFieldTest.java | 2 +-
.../compress/archivers/zip/BinaryTreeTest.java | 6 +-
.../compress/archivers/zip/BitStreamTest.java | 4 +-
.../archivers/zip/CircularBufferTest.java | 14 +-
.../archivers/zip/ExplodeSupportTest.java | 2 +-
.../zip/ParallelScatterZipCreatorTest.java | 2 +-
.../zip/ScatterZipOutputStreamTest.java | 2 +-
.../archivers/zip/UTF8ZipFilesTest.java | 2 +-
.../zip/X5455_ExtendedTimestampTest.java | 2 +-
.../zip/ZipArchiveInputStreamTest.java | 10 +-
.../compress/archivers/zip/ZipFileTest.java | 4 +-
.../compress/changes/ChangeSetTestCase.java | 70 +-
.../compress/compressors/DeflateTestCase.java | 8 +-
.../compressors/DetectCompressorTestCase.java | 10 +-
.../compress/compressors/GZipTestCase.java | 18 +-
.../brotli/BrotliCompressorInputStreamTest.java | 8 +-
.../compressors/bzip2/BlockSortTest.java | 8 +-
.../commons/compress/utils/CharsetsTest.java | 6 +-
.../commons/compress/utils/IOUtilsTest.java | 4 +-
122 files changed, 1241 insertions(+), 1241 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/MemoryLimitException.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/MemoryLimitException.java b/src/main/java/org/apache/commons/compress/MemoryLimitException.java
index fe68c0b..d251fb3 100644
--- a/src/main/java/org/apache/commons/compress/MemoryLimitException.java
+++ b/src/main/java/org/apache/commons/compress/MemoryLimitException.java
@@ -31,7 +31,7 @@ import java.io.IOException;
public class MemoryLimitException extends IOException {
private static final long serialVersionUID = 1L;
-
+
//long instead of int to account for overflow for corrupt files
private final long memoryNeededInKb;
private final int memoryLimitInKb;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java
index a6ffcb8..bf31f00 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java
@@ -27,14 +27,14 @@ public interface ArchiveEntry {
/**
* Gets the name of the entry in this archive. May refer to a file or directory or other item.
- *
+ *
* @return The name of this entry in the archive.
*/
String getName();
/**
* Gets the uncompressed size of this entry. May be -1 (SIZE_UNKNOWN) if the size is unknown
- *
+ *
* @return the uncompressed size of this entry.
*/
long getSize();
@@ -44,14 +44,14 @@ public interface ArchiveEntry {
/**
* Returns true if this entry refers to a directory.
- *
+ *
* @return true if this entry refers to a directory.
*/
boolean isDirectory();
/**
* Gets the last modified date of this entry.
- *
+ *
* @return the last modified date of this entry.
* @since 1.1
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ArchiveException.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveException.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveException.java
index 4732345..bb57785 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ArchiveException.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveException.java
@@ -19,7 +19,7 @@
package org.apache.commons.compress.archivers;
/**
- * Archiver related Exception
+ * Archiver related Exception
*/
public class ArchiveException extends Exception {
@@ -29,7 +29,7 @@ public class ArchiveException extends Exception {
/**
* Constructs a new exception with the specified detail message. The cause
* is not initialized.
- *
+ *
* @param message
* the detail message
*/
@@ -39,7 +39,7 @@ public class ArchiveException extends Exception {
/**
* Constructs a new exception with the specified detail message and cause.
- *
+ *
* @param message
* the detail message
* @param cause
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
index f36b5a2..9c4e978 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java
@@ -22,7 +22,7 @@ import java.io.IOException;
import java.io.InputStream;
/**
- * Archive input streams <b>MUST</b> override the
+ * Archive input streams <b>MUST</b> override the
* {@link #read(byte[], int, int)} - or {@link #read()} -
* method so that reading from the stream generates EOF for the end of
* data in each entry as well as at the end of the file proper.
@@ -35,7 +35,7 @@ import java.io.InputStream;
* public static boolean matches(byte[] signature, int length)
* </pre>
* which is used by the {@link ArchiveStreamFactory} to autodetect
- * the archive type from the first few bytes of a stream.
+ * the archive type from the first few bytes of a stream.
*/
public abstract class ArchiveInputStream extends InputStream {
@@ -66,12 +66,12 @@ public abstract class ArchiveInputStream extends InputStream {
/**
* Reads a byte of data. This method will block until enough input is
* available.
- *
+ *
* Simply calls the {@link #read(byte[], int, int)} method.
- *
+ *
* MUST be overridden if the {@link #read(byte[], int, int)} method
* is not overridden; may be overridden otherwise.
- *
+ *
* @return the byte read, or -1 if end of input is reached
* @throws IOException
* if an I/O error has occurred
@@ -85,7 +85,7 @@ public abstract class ArchiveInputStream extends InputStream {
/**
* Increments the counter of already read bytes.
* Doesn't increment if the EOF has been hit (read == -1)
- *
+ *
* @param read the number of bytes read
*/
protected void count(final int read) {
@@ -95,7 +95,7 @@ public abstract class ArchiveInputStream extends InputStream {
/**
* Increments the counter of already read bytes.
* Doesn't increment if the EOF has been hit (read == -1)
- *
+ *
* @param read the number of bytes read
* @since 1.1
*/
@@ -107,7 +107,7 @@ public abstract class ArchiveInputStream extends InputStream {
/**
* Decrements the counter of already read bytes.
- *
+ *
* @param pushedBack the number of bytes pushed back.
* @since 1.1
*/
@@ -137,15 +137,15 @@ public abstract class ArchiveInputStream extends InputStream {
/**
* Whether this stream is able to read the given entry.
- *
+ *
* <p>
* Some archive formats support variants or details that are not supported (yet).
* </p>
- *
+ *
* @param archiveEntry
* the entry to test
* @return This implementation always returns true.
- *
+ *
* @since 1.1
*/
public boolean canReadEntryData(final ArchiveEntry archiveEntry) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java
index 9ca9a83..4377b6d 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java
@@ -27,7 +27,7 @@ import java.io.OutputStream;
* {@link #write(byte[], int, int)} method to improve performance.
* They should also override {@link #close()} to ensure that any necessary
* trailers are added.
- *
+ *
* <p>The normal sequence of calls when working with ArchiveOutputStreams is:</p>
* <ul>
* <li>Create ArchiveOutputStream object,</li>
@@ -58,7 +58,7 @@ public abstract class ArchiveOutputStream extends OutputStream {
* Writes the headers for an archive entry to the output stream.
* The caller must then write the content to the stream and call
* {@link #closeArchiveEntry()} to complete the process.
- *
+ *
* @param entry describes the entry
* @throws IOException if an I/O error occurs
*/
@@ -74,18 +74,18 @@ public abstract class ArchiveOutputStream extends OutputStream {
/**
* Finishes the addition of entries to this stream, without closing it.
* Additional data can be written, if the format supports it.
- *
+ *
* @throws IOException if the user forgets to close the entry.
*/
public abstract void finish() throws IOException;
/**
* Create an archive entry using the inputFile and entryName provided.
- *
+ *
* @param inputFile the file to create the entry from
* @param entryName name to use for the entry
* @return the ArchiveEntry set up with details from the file
- *
+ *
* @throws IOException if an I/O error occurs
*/
public abstract ArchiveEntry createArchiveEntry(File inputFile, String entryName) throws IOException;
@@ -99,7 +99,7 @@ public abstract class ArchiveOutputStream extends OutputStream {
*
* <p>MUST be overridden if the {@link #write(byte[], int, int)} method
* is not overridden; may be overridden otherwise.
- *
+ *
* @param b The byte to be written.
* @throws IOException on error
*/
@@ -112,7 +112,7 @@ public abstract class ArchiveOutputStream extends OutputStream {
/**
* Increments the counter of already written bytes.
* Doesn't increment if EOF has been hit ({@code written == -1}).
- *
+ *
* @param written the number of bytes written
*/
protected void count(final int written) {
@@ -122,7 +122,7 @@ public abstract class ArchiveOutputStream extends OutputStream {
/**
* Increments the counter of already written bytes.
* Doesn't increment if EOF has been hit ({@code written == -1}).
- *
+ *
* @param written the number of bytes written
* @since 1.1
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
index 916e3e1..3cd8ba7 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java
@@ -55,9 +55,9 @@ import org.apache.commons.compress.utils.Sets;
* the InputStream. In order to add other implementations, you should extend
* ArchiveStreamFactory and override the appropriate methods (and call their
* implementation from super of course).
- *
+ *
* Compressing a ZIP-File:
- *
+ *
* <pre>
* final OutputStream out = Files.newOutputStream(output.toPath());
* ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream(ArchiveStreamFactory.ZIP, out);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamProvider.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamProvider.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamProvider.java
index bae8bb5..eb1862c 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamProvider.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamProvider.java
@@ -25,7 +25,7 @@ import java.util.Set;
/**
* Creates Archive {@link ArchiveInputStream}s and {@link ArchiveOutputStream}s.
- *
+ *
* @since 1.13
*/
public interface ArchiveStreamProvider {
@@ -33,7 +33,7 @@ public interface ArchiveStreamProvider {
/**
* Creates an archive input stream from an archiver name and an input
* stream.
- *
+ *
* @param name
* the archive name, i.e.
* {@value org.apache.commons.compress.archivers.ArchiveStreamFactory#AR},
@@ -63,7 +63,7 @@ public interface ArchiveStreamProvider {
/**
* Creates an archive output stream from an archiver name and an output
* stream.
- *
+ *
* @param name
* the archive name, i.e.
* {@value org.apache.commons.compress.archivers.ArchiveStreamFactory#AR},
@@ -89,14 +89,14 @@ public interface ArchiveStreamProvider {
/**
* Gets all the input stream archive names for this provider
- *
+ *
* @return all the input archive names for this provider
*/
Set<String> getInputStreamArchiveNames();
/**
* Gets all the output stream archive names for this provider
- *
+ *
* @return all the output archive names for this provider
*/
Set<String> getOutputStreamArchiveNames();
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/StreamingNotSupportedException.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/StreamingNotSupportedException.java b/src/main/java/org/apache/commons/compress/archivers/StreamingNotSupportedException.java
index eff0183..9f12a7a 100644
--- a/src/main/java/org/apache/commons/compress/archivers/StreamingNotSupportedException.java
+++ b/src/main/java/org/apache/commons/compress/archivers/StreamingNotSupportedException.java
@@ -20,18 +20,18 @@ package org.apache.commons.compress.archivers;
/**
* Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.
- *
+ *
* @since 1.8
*/
public class StreamingNotSupportedException extends ArchiveException {
-
+
private static final long serialVersionUID = 1L;
-
+
private final String format;
/**
* Creates a new StreamingNotSupportedException.
- *
+ *
* @param format the format that has been requested/detected.
*/
public StreamingNotSupportedException(final String format) {
@@ -41,11 +41,11 @@ public class StreamingNotSupportedException extends ArchiveException {
/**
* Returns the format that has been requested/detected.
- *
+ *
* @return the format that has been requested/detected.
*/
public String getFormat() {
return format;
}
-
+
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java
index adf5d86..d1ce649 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveEntry.java
@@ -25,10 +25,10 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
/**
* Represents an archive entry in the "ar" format.
- *
+ *
* Each AR archive starts with "!<arch>" followed by a LF. After these 8 bytes
* the archive entries are listed. The format of an entry header is as it follows:
- *
+ *
* <pre>
* START BYTE END BYTE NAME FORMAT LENGTH
* 0 15 File name ASCII 16
@@ -39,14 +39,14 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
* 48 57 File size (bytes) Decimal 10
* 58 59 File magic \140\012 2
* </pre>
- *
+ *
* This specifies that an ar archive entry header contains 60 bytes.
- *
+ *
* Due to the limitation of the file name length to 16 bytes GNU and
* BSD has their own variants of this format. Currently Commons
* Compress can read but not write the GNU variant. It fully supports
* the BSD variant.
- *
+ *
* @see <a href="http://www.freebsd.org/cgi/man.cgi?query=ar&sektion=5">ar man page</a>
*
* @Immutable
@@ -68,7 +68,7 @@ public class ArArchiveEntry implements ArchiveEntry {
private final int userId;
private final int groupId;
private final int mode;
- private static final int DEFAULT_MODE = 33188; // = (octal) 0100644
+ private static final int DEFAULT_MODE = 33188; // = (octal) 0100644
private final long lastModified;
private final long length;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
index 69bc640..c2de3ee 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
@@ -29,9 +29,9 @@ import org.apache.commons.compress.utils.IOUtils;
/**
* Implements the "ar" archive format as an input stream.
- *
+ *
* @NotThreadSafe
- *
+ *
*/
public class ArArchiveInputStream extends ArchiveInputStream {
@@ -63,7 +63,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
/**
* Constructs an Ar input stream with the referenced stream
- *
+ *
* @param pInput
* the ar input stream
*/
@@ -74,7 +74,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
/**
* Returns the next AR entry in this stream.
- *
+ *
* @return the next AR entry.
* @throws IOException
* if the entry could not be read
@@ -167,7 +167,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
/**
* Get an extended name from the GNU extended name buffer.
- *
+ *
* @param offset pointer to entry within the buffer
* @return the extended file name; without trailing "/" if present.
* @throws IOException if name not found or buffer not set up
@@ -213,7 +213,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
/*
* (non-Javadoc)
- *
+ *
* @see
* org.apache.commons.compress.archivers.ArchiveInputStream#getNextEntry()
*/
@@ -224,7 +224,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
/*
* (non-Javadoc)
- *
+ *
* @see java.io.InputStream#close()
*/
@Override
@@ -238,7 +238,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
/*
* (non-Javadoc)
- *
+ *
* @see java.io.InputStream#read(byte[], int, int)
*/
@Override
@@ -261,7 +261,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
/**
* Checks if the signature matches ASCII "!<arch>" followed by a single LF
* control character
- *
+ *
* @param signature
* the bytes to check
* @param length
@@ -366,7 +366,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
* <p>A header references an extended filename by storing a "/"
* followed by a decimal offset to the start of the filename in
* the extended filename data section.</p>
- *
+ *
* <p>The format of the "//" file itself is simply a list of the
* long filenames, each separated by one or more LF
* characters. Note that the decimal offsets are number of
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java
index aa3a0db..ffca90b 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveOutputStream.java
@@ -28,7 +28,7 @@ import org.apache.commons.compress.utils.ArchiveUtils;
/**
* Implements the "ar" archive format as an output stream.
- *
+ *
* @NotThreadSafe
*/
public class ArArchiveOutputStream extends ArchiveOutputStream {
@@ -110,7 +110,7 @@ public class ArArchiveOutputStream extends ArchiveOutputStream {
haveUnclosedEntry = true;
}
- private long fill( final long pOffset, final long pNewOffset, final char pFill ) throws IOException {
+ private long fill( final long pOffset, final long pNewOffset, final char pFill ) throws IOException {
final long diff = pNewOffset - pOffset;
if (diff > 0) {
@@ -137,7 +137,7 @@ public class ArArchiveOutputStream extends ArchiveOutputStream {
if (LONGFILE_ERROR == longFileMode && n.length() > 16) {
throw new IOException("filename too long, > 16 chars: "+n);
}
- if (LONGFILE_BSD == longFileMode &&
+ if (LONGFILE_BSD == longFileMode &&
(n.length() > 16 || n.contains(" "))) {
mustAppendName = true;
offset += write(ArArchiveInputStream.BSD_LONGNAME_PREFIX
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java
index a275a43..e66dc55 100644
--- a/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java
@@ -26,17 +26,17 @@ import org.apache.commons.compress.archivers.zip.ZipUtil;
/**
* An entry in an ARJ archive.
- *
+ *
* @NotThreadSafe
* @since 1.6
*/
public class ArjArchiveEntry implements ArchiveEntry {
private final LocalFileHeader localFileHeader;
-
+
public ArjArchiveEntry() {
localFileHeader = new LocalFileHeader();
}
-
+
ArjArchiveEntry(final LocalFileHeader localFileHeader) {
this.localFileHeader = localFileHeader;
}
@@ -158,5 +158,5 @@ public class ArjArchiveEntry implements ArchiveEntry {
public static final int WIN95 = 10;
public static final int WIN32 = 11;
}
-
+
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStream.java
index eb6f070..c22d4c0 100644
--- a/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStream.java
@@ -47,7 +47,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
private final MainHeader mainHeader;
private LocalFileHeader currentLocalFileHeader = null;
private InputStream currentInputStream = null;
-
+
/**
* Constructs the ArjInputStream, taking ownership of the inputStream that is passed in.
* @param inputStream the underlying stream, whose ownership is taken
@@ -82,7 +82,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
throws ArchiveException {
this(inputStream, "CP437");
}
-
+
@Override
public void close() throws IOException {
in.close();
@@ -105,7 +105,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
count(4);
return Integer.reverseBytes(value);
}
-
+
private String readString(final DataInputStream dataIn) throws IOException {
final ByteArrayOutputStream buffer = new ByteArrayOutputStream();
int nextByte;
@@ -118,13 +118,13 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
// intentionally using the default encoding as that's the contract for a null charsetName
return new String(buffer.toByteArray());
}
-
+
private void readFully(final DataInputStream dataIn, final byte[] b)
throws IOException {
dataIn.readFully(b);
count(b.length);
}
-
+
private byte[] readHeader() throws IOException {
boolean found = false;
byte[] basicHeaderBytes = null;
@@ -153,7 +153,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
} while (!found);
return basicHeaderBytes;
}
-
+
private MainHeader readMainHeader() throws IOException {
final byte[] basicHeaderBytes = readHeader();
if (basicHeaderBytes == null) {
@@ -161,13 +161,13 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
}
final DataInputStream basicHeader = new DataInputStream(
new ByteArrayInputStream(basicHeaderBytes));
-
+
final int firstHeaderSize = basicHeader.readUnsignedByte();
final byte[] firstHeaderBytes = new byte[firstHeaderSize - 1];
basicHeader.readFully(firstHeaderBytes);
final DataInputStream firstHeader = new DataInputStream(
new ByteArrayInputStream(firstHeaderBytes));
-
+
final MainHeader hdr = new MainHeader();
hdr.archiverVersionNumber = firstHeader.readUnsignedByte();
hdr.minVersionToExtract = firstHeader.readUnsignedByte();
@@ -185,7 +185,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
pushedBackBytes(20); // count has already counted them via readFully
hdr.encryptionVersion = firstHeader.readUnsignedByte();
hdr.lastChapter = firstHeader.readUnsignedByte();
-
+
if (firstHeaderSize >= 33) {
hdr.arjProtectionFactor = firstHeader.readUnsignedByte();
hdr.arjFlags2 = firstHeader.readUnsignedByte();
@@ -195,7 +195,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
hdr.name = readString(basicHeader);
hdr.comment = readString(basicHeader);
-
+
final int extendedHeaderSize = read16(in);
if (extendedHeaderSize > 0) {
hdr.extendedHeaderBytes = new byte[extendedHeaderSize];
@@ -207,10 +207,10 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
throw new IOException("Extended header CRC32 verification failure");
}
}
-
+
return hdr;
}
-
+
private LocalFileHeader readLocalFileHeader() throws IOException {
final byte[] basicHeaderBytes = readHeader();
if (basicHeaderBytes == null) {
@@ -265,7 +265,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
}
}
}
-
+
private void readExtraData(final int firstHeaderSize, final DataInputStream firstHeader,
final LocalFileHeader localFileHeader) throws IOException {
if (firstHeaderSize >= 33) {
@@ -294,7 +294,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
(0xff & signature[0]) == ARJ_MAGIC_1 &&
(0xff & signature[1]) == ARJ_MAGIC_2;
}
-
+
/**
* Gets the archive's recorded name.
* @return the archive's name
@@ -302,7 +302,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
public String getArchiveName() {
return mainHeader.name;
}
-
+
/**
* Gets the archive's comment.
* @return the archive's comment
@@ -310,7 +310,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
public String getArchiveComment() {
return mainHeader.comment;
}
-
+
@Override
public ArjArchiveEntry getNextEntry() throws IOException {
if (currentInputStream != null) {
@@ -320,7 +320,7 @@ public class ArjArchiveInputStream extends ArchiveInputStream {
currentLocalFileHeader = null;
currentInputStream = null;
}
-
+
currentLocalFileHeader = readLocalFileHeader();
if (currentLocalFileHeader != null) {
currentInputStream = new BoundedInputStream(in, currentLocalFileHeader.compressedSize);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/arj/LocalFileHeader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/arj/LocalFileHeader.java b/src/main/java/org/apache/commons/compress/archivers/arj/LocalFileHeader.java
index 4629213..6ecb297 100644
--- a/src/main/java/org/apache/commons/compress/archivers/arj/LocalFileHeader.java
+++ b/src/main/java/org/apache/commons/compress/archivers/arj/LocalFileHeader.java
@@ -35,17 +35,17 @@ class LocalFileHeader {
int fileAccessMode;
int firstChapter;
int lastChapter;
-
+
int extendedFilePosition;
int dateTimeAccessed;
int dateTimeCreated;
int originalSizeEvenForVolumes;
-
+
String name;
String comment;
-
+
byte[][] extendedHeaders = null;
-
+
static class Flags {
static final int GARBLED = 0x01;
static final int VOLUME = 0x04;
@@ -53,7 +53,7 @@ class LocalFileHeader {
static final int PATHSYM = 0x10;
static final int BACKUP = 0x20;
}
-
+
static class FileTypes {
static final int BINARY = 0;
static final int SEVEN_BIT_TEXT = 1;
@@ -61,7 +61,7 @@ class LocalFileHeader {
static final int VOLUME_LABEL = 4;
static final int CHAPTER_LABEL = 5;
}
-
+
static class Methods {
static final int STORED = 0;
static final int COMPRESSED_MOST = 1;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/arj/MainHeader.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/arj/MainHeader.java b/src/main/java/org/apache/commons/compress/archivers/arj/MainHeader.java
index a41aa72..7a9f212 100644
--- a/src/main/java/org/apache/commons/compress/archivers/arj/MainHeader.java
+++ b/src/main/java/org/apache/commons/compress/archivers/arj/MainHeader.java
@@ -40,7 +40,7 @@ class MainHeader {
String name;
String comment;
byte[] extendedHeaderBytes = null;
-
+
static class Flags {
static final int GARBLED = 0x01;
static final int OLD_SECURED_NEW_ANSI_PAGE = 0x02;
@@ -52,7 +52,7 @@ class MainHeader {
static final int ALTNAME = 0x80;
}
-
+
@Override
public String toString() {
final StringBuilder builder = new StringBuilder();
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java
index ef0fc1f..cb48ef4 100644
--- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java
@@ -27,7 +27,7 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
* A cpio archive consists of a sequence of files. There are several types of
* headers defided in two categories of new and old format. The headers are
* recognized by magic numbers:
- *
+ *
* <ul>
* <li>"070701" ASCII for new portable format</li>
* <li>"070702" ASCII for new portable format with CRC</li>
@@ -39,38 +39,38 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
* <p>The old binary format is limited to 16 bits for user id, group
* id, device, and inode numbers. It is limited to 4 gigabyte file
* sizes.
- *
+ *
* The old ASCII format is limited to 18 bits for the user id, group
* id, device, and inode numbers. It is limited to 8 gigabyte file
* sizes.
- *
+ *
* The new ASCII format is limited to 4 gigabyte file sizes.
- *
+ *
* CPIO 2.5 knows also about tar, but it is not recognized here.</p>
- *
- *
+ *
+ *
* <h3>OLD FORMAT</h3>
- *
+ *
* <p>Each file has a 76 (ascii) / 26 (binary) byte header, a variable
* length, NUL terminated filename, and variable length file data. A
* header for a filename "TRAILER!!!" indicates the end of the
* archive.</p>
- *
+ *
* <p>All the fields in the header are ISO 646 (approximately ASCII)
* strings of octal numbers, left padded, not NUL terminated.</p>
- *
+ *
* <pre>
- * FIELDNAME NOTES
+ * FIELDNAME NOTES
* c_magic The integer value octal 070707. This value can be used to deter-
* mine whether this archive is written with little-endian or big-
* endian integers.
- * c_dev Device that contains a directory entry for this file
- * c_ino I-node number that identifies the input file to the file system
+ * c_dev Device that contains a directory entry for this file
+ * c_ino I-node number that identifies the input file to the file system
* c_mode The mode specifies both the regular permissions and the file type.
- * c_uid Numeric User ID of the owner of the input file
- * c_gid Numeric Group ID of the owner of the input file
- * c_nlink Number of links that are connected to the input file
- * c_rdev For block special and character special entries, this field
+ * c_uid Numeric User ID of the owner of the input file
+ * c_gid Numeric Group ID of the owner of the input file
+ * c_nlink Number of links that are connected to the input file
+ * c_rdev For block special and character special entries, this field
* contains the associated device number. For all other entry types,
* it should be set to zero by writers and ignored by readers.
* c_mtime[2] Modification time of the file, indicated as the number of seconds
@@ -78,33 +78,33 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
* four-byte integer is stored with the most-significant 16 bits
* first followed by the least-significant 16 bits. Each of the two
* 16 bit values are stored in machine-native byte order.
- * c_namesize Length of the path name, including the terminating null byte
- * c_filesize[2] Length of the file in bytes. This is the length of the data
- * section that follows the header structure. Must be 0 for
+ * c_namesize Length of the path name, including the terminating null byte
+ * c_filesize[2] Length of the file in bytes. This is the length of the data
+ * section that follows the header structure. Must be 0 for
* FIFOs and directories
*
* All fields are unsigned short fields with 16-bit integer values
* apart from c_mtime and c_filesize which are 32-bit integer values
* </pre>
- *
+ *
* <p>If necessary, the filename and file data are padded with a NUL byte to an even length</p>
- *
+ *
* <p>Special files, directories, and the trailer are recorded with
* the h_filesize field equal to 0.</p>
- *
+ *
* <p>In the ASCII version of this format, the 16-bit entries are represented as 6-byte octal numbers,
* and the 32-bit entries are represented as 11-byte octal numbers. No padding is added.</p>
- *
+ *
* <h3>NEW FORMAT</h3>
- *
+ *
* <p>Each file has a 110 byte header, a variable length, NUL
* terminated filename, and variable length file data. A header for a
* filename "TRAILER!!!" indicates the end of the archive. All the
* fields in the header are ISO 646 (approximately ASCII) strings of
* hexadecimal numbers, left padded, not NUL terminated.</p>
- *
+ *
* <pre>
- * FIELDNAME NOTES
+ * FIELDNAME NOTES
* c_magic[6] The string 070701 for new ASCII, the string 070702 for new ASCII with CRC
* c_ino[8]
* c_mode[8]
@@ -112,31 +112,31 @@ import org.apache.commons.compress.archivers.ArchiveEntry;
* c_gid[8]
* c_nlink[8]
* c_mtim[8]
- * c_filesize[8] must be 0 for FIFOs and directories
+ * c_filesize[8] must be 0 for FIFOs and directories
* c_maj[8]
- * c_min[8]
- * c_rmaj[8] only valid for chr and blk special files
- * c_rmin[8] only valid for chr and blk special files
- * c_namesize[8] count includes terminating NUL in pathname
+ * c_min[8]
+ * c_rmaj[8] only valid for chr and blk special files
+ * c_rmin[8] only valid for chr and blk special files
+ * c_namesize[8] count includes terminating NUL in pathname
* c_check[8] 0 for "new" portable format; for CRC format
* the sum of all the bytes in the file
* </pre>
- *
+ *
* <p>New ASCII Format The "new" ASCII format uses 8-byte hexadecimal
* fields for all numbers and separates device numbers into separate
* fields for major and minor numbers.</p>
- *
+ *
* <p>The pathname is followed by NUL bytes so that the total size of
* the fixed header plus pathname is a multiple of four. Likewise, the
* file data is padded to a multiple of four bytes.</p>
- *
+ *
* <p>This class uses mutable fields and is not considered to be
* threadsafe.</p>
- *
+ *
* <p>Based on code from the jRPM project (http://jrpm.sourceforge.net).</p>
*
* <p>The MAGIC numbers and other constants are defined in {@link CpioConstants}</p>
- *
+ *
* <p>
* N.B. does not handle the cpio "tar" format
* </p>
@@ -150,7 +150,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* See constructor documenation for possible values.
*/
- private final short fileFormat;
+ private final short fileFormat;
/** The number of bytes in each header record; depends on the file format */
private final int headerSize;
@@ -189,7 +189,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Creates a CpioArchiveEntry with a specified format.
- *
+ *
* @param format
* The cpio format for this entry.
* <p>
@@ -228,7 +228,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Creates a CpioArchiveEntry with a specified name. The format of
* this entry will be the new format.
- *
+ *
* @param name
* The name of this entry.
*/
@@ -238,7 +238,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Creates a CpioArchiveEntry with a specified name.
- *
+ *
* @param format
* The cpio format for this entry.
* @param name
@@ -251,7 +251,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
* CpioConstants.FORMAT_OLD_BINARY
* CpioConstants.FORMAT_OLD_ASCII
* </pre>
- *
+ *
* @since 1.1
*/
public CpioArchiveEntry(final short format, final String name) {
@@ -262,7 +262,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Creates a CpioArchiveEntry with a specified name. The format of
* this entry will be the new format.
- *
+ *
* @param name
* The name of this entry.
* @param size
@@ -275,7 +275,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Creates a CpioArchiveEntry with a specified name.
- *
+ *
* @param format
* The cpio format for this entry.
* @param name
@@ -290,7 +290,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
* CpioConstants.FORMAT_OLD_BINARY
* CpioConstants.FORMAT_OLD_ASCII
* </pre>
- *
+ *
* @since 1.1
*/
public CpioArchiveEntry(final short format, final String name,
@@ -303,7 +303,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
* Creates a CpioArchiveEntry with a specified name for a
* specified file. The format of this entry will be the new
* format.
- *
+ *
* @param inputFile
* The file to gather information from.
* @param entryName
@@ -316,7 +316,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Creates a CpioArchiveEntry with a specified name for a
* specified file.
- *
+ *
* @param format
* The cpio format for this entry.
* @param inputFile
@@ -331,7 +331,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
* CpioConstants.FORMAT_OLD_BINARY
* CpioConstants.FORMAT_OLD_ASCII
* </pre>
- *
+ *
* @since 1.1
*/
public CpioArchiveEntry(final short format, final File inputFile,
@@ -370,7 +370,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the checksum.
* Only supported for the new formats.
- *
+ *
* @return Returns the checksum.
* @throws UnsupportedOperationException if the format is not a new format
*/
@@ -381,7 +381,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the device id.
- *
+ *
* @return Returns the device id.
* @throws UnsupportedOperationException
* if this method is called for a CpioArchiveEntry with a new
@@ -394,7 +394,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the major device id.
- *
+ *
* @return Returns the major device id.
* @throws UnsupportedOperationException
* if this method is called for a CpioArchiveEntry with an old
@@ -407,7 +407,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the minor device id
- *
+ *
* @return Returns the minor device id.
* @throws UnsupportedOperationException if format is not a new format
*/
@@ -418,7 +418,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the filesize.
- *
+ *
* @return Returns the filesize.
* @see org.apache.commons.compress.archivers.ArchiveEntry#getSize()
*/
@@ -429,7 +429,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the format for this entry.
- *
+ *
* @return Returns the format.
*/
public short getFormat() {
@@ -438,7 +438,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the group id.
- *
+ *
* @return Returns the group id.
*/
public long getGID() {
@@ -447,7 +447,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the header size for this CPIO format
- *
+ *
* @return Returns the header size in bytes.
*/
public int getHeaderSize() {
@@ -456,7 +456,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the alignment boundary for this CPIO format
- *
+ *
* @return Returns the aligment boundary (0, 2, 4) in bytes
*/
public int getAlignmentBoundary() {
@@ -465,7 +465,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the number of bytes needed to pad the header to the alignment boundary.
- *
+ *
* @return the number of bytes needed to pad the header (0,1,2,3)
*/
public int getHeaderPadCount(){
@@ -483,7 +483,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the number of bytes needed to pad the data to the alignment boundary.
- *
+ *
* @return the number of bytes needed to pad the data (0,1,2,3)
*/
public int getDataPadCount(){
@@ -498,7 +498,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the inode.
- *
+ *
* @return Returns the inode.
*/
public long getInode() {
@@ -507,7 +507,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the mode of this entry (e.g. directory, regular file).
- *
+ *
* @return Returns the mode.
*/
public long getMode() {
@@ -516,7 +516,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the name.
- *
+ *
* @return Returns the name.
*/
@Override
@@ -526,7 +526,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the number of links.
- *
+ *
* @return Returns the number of links.
*/
public long getNumberOfLinks() {
@@ -537,7 +537,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the remote device id.
- *
+ *
* @return Returns the remote device id.
* @throws UnsupportedOperationException
* if this method is called for a CpioArchiveEntry with a new
@@ -550,7 +550,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the remote major device id.
- *
+ *
* @return Returns the remote major device id.
* @throws UnsupportedOperationException
* if this method is called for a CpioArchiveEntry with an old
@@ -563,7 +563,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the remote minor device id.
- *
+ *
* @return Returns the remote minor device id.
* @throws UnsupportedOperationException
* if this method is called for a CpioArchiveEntry with an old
@@ -576,7 +576,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the time in seconds.
- *
+ *
* @return Returns the time.
*/
public long getTime() {
@@ -590,7 +590,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Get the user id.
- *
+ *
* @return Returns the user id.
*/
public long getUID() {
@@ -599,7 +599,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a block device.
- *
+ *
* @return TRUE if this entry is a block device.
*/
public boolean isBlockDevice() {
@@ -608,7 +608,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a character device.
- *
+ *
* @return TRUE if this entry is a character device.
*/
public boolean isCharacterDevice() {
@@ -617,7 +617,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a directory.
- *
+ *
* @return TRUE if this entry is a directory.
*/
@Override
@@ -627,7 +627,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a network device.
- *
+ *
* @return TRUE if this entry is a network device.
*/
public boolean isNetwork() {
@@ -636,7 +636,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a pipe.
- *
+ *
* @return TRUE if this entry is a pipe.
*/
public boolean isPipe() {
@@ -645,7 +645,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a regular file.
- *
+ *
* @return TRUE if this entry is a regular file.
*/
public boolean isRegularFile() {
@@ -654,7 +654,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a socket.
- *
+ *
* @return TRUE if this entry is a socket.
*/
public boolean isSocket() {
@@ -663,7 +663,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Check if this entry represents a symbolic link.
- *
+ *
* @return TRUE if this entry is a symbolic link.
*/
public boolean isSymbolicLink() {
@@ -673,7 +673,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the checksum. The checksum is calculated by adding all bytes of a
* file to transfer (crc += buf[pos] & 0xFF).
- *
+ *
* @param chksum
* The checksum to set.
*/
@@ -684,7 +684,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the device id.
- *
+ *
* @param device
* The device id to set.
* @throws UnsupportedOperationException
@@ -698,7 +698,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set major device id.
- *
+ *
* @param maj
* The major device id to set.
*/
@@ -709,7 +709,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the minor device id
- *
+ *
* @param min
* The minor device id to set.
*/
@@ -720,7 +720,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the filesize.
- *
+ *
* @param size
* The filesize to set.
*/
@@ -734,7 +734,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the group id.
- *
+ *
* @param gid
* The group id to set.
*/
@@ -744,7 +744,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the inode.
- *
+ *
* @param inode
* The inode to set.
*/
@@ -754,7 +754,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the mode of this entry (e.g. directory, regular file).
- *
+ *
* @param mode
* The mode to set.
*/
@@ -773,7 +773,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
default:
throw new IllegalArgumentException(
"Unknown mode. "
- + "Full: " + Long.toHexString(mode)
+ + "Full: " + Long.toHexString(mode)
+ " Masked: " + Long.toHexString(maskedMode));
}
@@ -782,7 +782,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the name.
- *
+ *
* @param name
* The name to set.
*/
@@ -792,7 +792,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the number of links.
- *
+ *
* @param nlink
* The number of links to set.
*/
@@ -802,7 +802,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the remote device id.
- *
+ *
* @param device
* The remote device id to set.
* @throws UnsupportedOperationException
@@ -816,7 +816,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the remote major device id.
- *
+ *
* @param rmaj
* The remote major device id to set.
* @throws UnsupportedOperationException
@@ -830,7 +830,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the remote minor device id.
- *
+ *
* @param rmin
* The remote minor device id to set.
* @throws UnsupportedOperationException
@@ -844,7 +844,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the time in seconds.
- *
+ *
* @param time
* The time to set.
*/
@@ -854,7 +854,7 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry {
/**
* Set the user id.
- *
+ *
* @param uid
* The user id to set.
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
index 69bfc87..ad8e125 100644
--- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
@@ -58,9 +58,9 @@ import org.apache.commons.compress.utils.IOUtils;
* </pre>
* <p>
* Note: This implementation should be compatible to cpio 2.5
- *
+ *
* <p>This class uses mutable fields and is not considered to be threadsafe.
- *
+ *
* <p>Based on code from the jRPM project (jrpm.sourceforge.net)
*/
@@ -100,7 +100,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
* Construct the cpio input stream with a blocksize of {@link
* CpioConstants#BLOCK_SIZE BLOCK_SIZE} and expecting ASCII file
* names.
- *
+ *
* @param in
* The cpio stream
*/
@@ -111,7 +111,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Construct the cpio input stream with a blocksize of {@link
* CpioConstants#BLOCK_SIZE BLOCK_SIZE}.
- *
+ *
* @param in
* The cpio stream
* @param encoding
@@ -127,7 +127,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
* Construct the cpio input stream with a blocksize of {@link
* CpioConstants#BLOCK_SIZE BLOCK_SIZE} expecting ASCII file
* names.
- *
+ *
* @param in
* The cpio stream
* @param blockSize
@@ -140,7 +140,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Construct the cpio input stream with a blocksize of {@link CpioConstants#BLOCK_SIZE BLOCK_SIZE}.
- *
+ *
* @param in
* The cpio stream
* @param blockSize
@@ -163,7 +163,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
* <p>
* Programs should not count on this method to return the actual number of
* bytes that could be read without blocking.
- *
+ *
* @return 1 before EOF and 0 after EOF has reached for current entry.
* @throws IOException
* if an I/O error has occurred or if a CPIO file error has
@@ -180,7 +180,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Closes the CPIO input stream.
- *
+ *
* @throws IOException
* if an I/O error has occurred
*/
@@ -195,7 +195,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Closes the current CPIO entry and positions the stream for reading the
* next entry.
- *
+ *
* @throws IOException
* if an I/O error has occurred or if a CPIO file error has
* occurred
@@ -210,7 +210,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Check to make sure that this stream has not been closed
- *
+ *
* @throws IOException
* if the stream is already closed
*/
@@ -223,7 +223,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Reads the next CPIO file entry and positions stream at the beginning of
* the entry data.
- *
+ *
* @return the CpioArchiveEntry just read
* @throws IOException
* if an I/O error has occurred or if a CPIO file error has
@@ -283,7 +283,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Reads from the current CPIO entry into an array of bytes. Blocks until
* some input is available.
- *
+ *
* @param b
* the buffer into which the data is read
* @param off
@@ -464,7 +464,7 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Skips specified number of bytes in the current CPIO entry.
- *
+ *
* @param n
* the number of bytes to skip
* @return the actual number of bytes skipped
@@ -520,15 +520,15 @@ public class CpioArchiveInputStream extends ArchiveInputStream implements
/**
* Checks if the signature matches one of the following magic values:
- *
+ *
* Strings:
*
* "070701" - MAGIC_NEW
* "070702" - MAGIC_NEW_CRC
* "070707" - MAGIC_OLD_ASCII
- *
+ *
* Octal Binary value:
- *
+ *
* 070707 - MAGIC_OLD_BINARY (held as a short) = 0x71C7 or 0xC771
* @param signature data to match
* @param length length of data
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java
index 6423b52..4b7158f 100644
--- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java
@@ -56,9 +56,9 @@ import org.apache.commons.compress.utils.CharsetNames;
* </pre>
*
* <p>Note: This implementation should be compatible to cpio 2.5</p>
- *
+ *
* <p>This class uses mutable fields and is not considered threadsafe.</p>
- *
+ *
* <p>based on code from the jRPM project (jrpm.sourceforge.net)</p>
*/
public class CpioArchiveOutputStream extends ArchiveOutputStream implements
@@ -101,7 +101,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
* Construct the cpio output stream with a specified format, a
* blocksize of {@link CpioConstants#BLOCK_SIZE BLOCK_SIZE} and
* using ASCII as the file name encoding.
- *
+ *
* @param out
* The cpio stream
* @param format
@@ -114,25 +114,25 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
/**
* Construct the cpio output stream with a specified format using
* ASCII as the file name encoding.
- *
+ *
* @param out
* The cpio stream
* @param format
* The format of the stream
* @param blockSize
* The block size of the archive.
- *
+ *
* @since 1.1
*/
public CpioArchiveOutputStream(final OutputStream out, final short format,
final int blockSize) {
this(out, format, blockSize, CharsetNames.US_ASCII);
- }
+ }
/**
* Construct the cpio output stream with a specified format using
* ASCII as the file name encoding.
- *
+ *
* @param out
* The cpio stream
* @param format
@@ -142,7 +142,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
* @param encoding
* The encoding of file names to write - use null for
* the platform's default.
- *
+ *
* @since 1.6
*/
public CpioArchiveOutputStream(final OutputStream out, final short format,
@@ -167,7 +167,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
/**
* Construct the cpio output stream. The format for this CPIO stream is the
* "new" format using ASCII encoding for file names
- *
+ *
* @param out
* The cpio stream
*/
@@ -178,7 +178,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
/**
* Construct the cpio output stream. The format for this CPIO stream is the
* "new" format.
- *
+ *
* @param out
* The cpio stream
* @param encoding
@@ -192,7 +192,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
/**
* Check to make sure that this stream has not been closed
- *
+ *
* @throws IOException
* if the stream is already closed
*/
@@ -208,7 +208,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
* current time will be used if the entry has no set modification time and
* the default header format will be used if no other format is specified in
* the entry.
- *
+ *
* @param entry
* the CPIO cpioEntry to be written
* @throws IOException
@@ -367,7 +367,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
}
/*(non-Javadoc)
- *
+ *
* @see
* org.apache.commons.compress.archivers.ArchiveOutputStream#closeArchiveEntry
* ()
@@ -402,7 +402,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
/**
* Writes an array of bytes to the current CPIO entry data. This method will
* block until all the bytes are written.
- *
+ *
* @param b
* the data to be written
* @param off
@@ -444,7 +444,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
* Finishes writing the contents of the CPIO output stream without closing
* the underlying stream. Use this method when applying multiple filters in
* succession to the same output stream.
- *
+ *
* @throws IOException
* if an I/O exception has occurred or if a CPIO file error has
* occurred
@@ -475,7 +475,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
/**
* Closes the CPIO output stream as well as the stream being filtered.
- *
+ *
* @throws IOException
* if an I/O error has occurred or if a CPIO file error has
* occurred
@@ -548,7 +548,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream implements
/**
* Creates a new ArchiveEntry. The entryName must be an ASCII encoded string.
- *
+ *
* @see org.apache.commons.compress.archivers.ArchiveOutputStream#createArchiveEntry(java.io.File, java.lang.String)
*/
@Override
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java
index 398ace4..efba282 100644
--- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java
+++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java
@@ -20,9 +20,9 @@ package org.apache.commons.compress.archivers.cpio;
/**
* All constants needed by CPIO.
- *
- * based on code from the jRPM project (jrpm.sourceforge.net)
- *
+ *
+ * based on code from the jRPM project (jrpm.sourceforge.net)
+ *
*/
public interface CpioConstants {
/** magic number of a cpio entry in the new format */
@@ -136,7 +136,7 @@ public interface CpioConstants {
/**
* The default block size.
- *
+ *
* @since 1.1
*/
int BLOCK_SIZE = 512;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/cpio/CpioUtil.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioUtil.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioUtil.java
index aba485f..f53ea44 100644
--- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioUtil.java
+++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioUtil.java
@@ -20,7 +20,7 @@ package org.apache.commons.compress.archivers.cpio;
/**
* Package private utility class for Cpio
- *
+ *
* @Immutable
*/
class CpioUtil {
@@ -35,7 +35,7 @@ class CpioUtil {
/**
* Converts a byte array to a long. Halfwords can be swapped by setting
* swapHalfWord=true.
- *
+ *
* @param number
* An array of bytes containing a number
* @param swapHalfWord
@@ -71,12 +71,12 @@ class CpioUtil {
}
/**
- * Converts a long number to a byte array
+ * Converts a long number to a byte array
* Halfwords can be swapped by setting swapHalfWord=true.
- *
- * @param number
+ *
+ * @param number
* the input long number to be converted
- *
+ *
* @param length
* The length of the returned array
* @param swapHalfWord
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
index 72eefd7..ed4f02f 100644
--- a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
@@ -413,7 +413,7 @@ public class DumpArchiveInputStream extends ArchiveInputStream {
* @return full path for specified archive entry, or null if there's a gap.
*/
private String getPath(final DumpArchiveEntry entry) {
- // build the stack of elements. It's possible that we're
+ // build the stack of elements. It's possible that we're
// still missing an intermediate value and if so we
final Stack<String> elements = new Stack<>();
Dirent dirent = null;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java b/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
index e82db2d..5643dec 100644
--- a/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
@@ -107,7 +107,7 @@ class TapeInputStream extends FilterInputStream {
/**
* {@inheritDoc}
*
- * <p>reads the full given length unless EOF is reached.</p>
+ * <p>reads the full given length unless EOF is reached.</p>
*
* @param len length to read, must be a multiple of the stream's
* record size
@@ -157,7 +157,7 @@ class TapeInputStream extends FilterInputStream {
/**
* Skip bytes. Same as read but without the arraycopy.
*
- * <p>skips the full given length unless EOF is reached.</p>
+ * <p>skips the full given length unless EOF is reached.</p>
*
* @param len length to read, must be a multiple of the stream's
* record size
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveInputStream.java
index 95f4788..47b1583 100644
--- a/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveInputStream.java
@@ -27,14 +27,14 @@ import org.apache.commons.compress.archivers.zip.ZipArchiveInputStream;
/**
* Implements an input stream that can read entries from jar files.
- *
+ *
* @NotThreadSafe
*/
public class JarArchiveInputStream extends ZipArchiveInputStream {
/**
* Creates an instance from the input stream using the default encoding.
- *
+ *
* @param inputStream the input stream to wrap
*/
public JarArchiveInputStream( final InputStream inputStream ) {
@@ -43,7 +43,7 @@ public class JarArchiveInputStream extends ZipArchiveInputStream {
/**
* Creates an instance from the input stream using the specified encoding.
- *
+ *
* @param inputStream the input stream to wrap
* @param encoding the encoding to use
* @since 1.10
@@ -65,7 +65,7 @@ public class JarArchiveInputStream extends ZipArchiveInputStream {
/**
* Checks if the signature matches what is expected for a jar file
* (in this case it is the same as for a zip file).
- *
+ *
* @param signature
* the bytes to check
* @param length
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveOutputStream.java
index 8bbe890..5e2c7a8 100644
--- a/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/jar/JarArchiveOutputStream.java
@@ -30,7 +30,7 @@ import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
* Subclass that adds a special extra field to the very first entry
* which allows the created archive to be used as an executable jar on
* Solaris.
- *
+ *
* @NotThreadSafe
*/
public class JarArchiveOutputStream extends ZipArchiveOutputStream {
@@ -43,7 +43,7 @@ public class JarArchiveOutputStream extends ZipArchiveOutputStream {
/**
* Create and instance that wraps the output stream using the provided encoding.
- *
+ *
* @param out the output stream to wrap
* @param encoding the encoding to use. Use null for the platform default.
* @since 1.10
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/AES256SHA256Decoder.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/AES256SHA256Decoder.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/AES256SHA256Decoder.java
index c320d9f..aca9777 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/AES256SHA256Decoder.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/AES256SHA256Decoder.java
@@ -36,7 +36,7 @@ class AES256SHA256Decoder extends CoderBase {
return new InputStream() {
private boolean isInitialized = false;
private CipherInputStream cipherInputStream = null;
-
+
private CipherInputStream init() throws IOException {
if (isInitialized) {
return cipherInputStream;
@@ -99,17 +99,17 @@ class AES256SHA256Decoder extends CoderBase {
generalSecurityException);
}
}
-
+
@Override
public int read() throws IOException {
return init().read();
}
-
+
@Override
public int read(final byte[] b, final int off, final int len) throws IOException {
return init().read(b, off, len);
}
-
+
@Override
public void close() {
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/Archive.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/Archive.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/Archive.java
index 71288b0..dd1c75a 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/Archive.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/Archive.java
@@ -46,10 +46,10 @@ class Archive {
}
private static String lengthOf(final long[] a) {
- return a == null ? "(null)" : String.valueOf(a.length);
+ return a == null ? "(null)" : String.valueOf(a.length);
}
private static String lengthOf(final Object[] a) {
- return a == null ? "(null)" : String.valueOf(a.length);
+ return a == null ? "(null)" : String.valueOf(a.length);
}
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
index 8caac74..c26a37f 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
@@ -66,7 +66,7 @@ public class CLI {
EXTRACT("Extracting") {
private final byte[] buf = new byte[8192];
@Override
- public void takeAction(final SevenZFile archive, final SevenZArchiveEntry entry)
+ public void takeAction(final SevenZFile archive, final SevenZArchiveEntry entry)
throws IOException {
final File outFile = new File(entry.getName());
if (entry.isDirectory()) {
@@ -111,7 +111,7 @@ public class CLI {
}
public abstract void takeAction(SevenZFile archive, SevenZArchiveEntry entry)
throws IOException;
- }
+ }
public static void main(final String[] args) throws Exception {
if (args.length == 0) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
index c04dca6..50ae163 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
@@ -75,7 +75,7 @@ class Coders {
}
return cb.decode(archiveName, is, uncompressedLength, coder, password);
}
-
+
static OutputStream addEncoder(final OutputStream out, final SevenZMethod method,
final Object options) throws IOException {
final CoderBase cb = findByMethod(method);
@@ -89,7 +89,7 @@ class Coders {
@Override
InputStream decode(final String archiveName, final InputStream in, final long uncompressedLength,
final Coder coder, final byte[] password) throws IOException {
- return in;
+ return in;
}
@Override
OutputStream encode(final OutputStream out, final Object options) {
@@ -115,14 +115,14 @@ class Coders {
e);
}
}
-
+
@SuppressWarnings("resource")
@Override
OutputStream encode(final OutputStream out, final Object options) {
return new FlushShieldFilterOutputStream(opts.getOutputStream(new FinishableWrapperOutputStream(out)));
}
}
-
+
static class DeflateDecoder extends CoderBase {
DeflateDecoder() {
super(Number.class);
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/archivers/sevenz/Folder.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/Folder.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/Folder.java
index 6b1975a..128cba9 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/Folder.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/Folder.java
@@ -70,7 +70,7 @@ class Folder {
}
return -1;
}
-
+
int findBindPairForOutStream(final int index) {
for (int i = 0; i < bindPairs.length; i++) {
if (bindPairs[i].outIndex == index) {
@@ -79,7 +79,7 @@ class Folder {
}
return -1;
}
-
+
long getUnpackSize() {
if (totalOutputStreams == 0) {
return 0;
[2/4] commons-compress git commit: Remove trailing white spaces on
all lines.
Posted by gg...@apache.org.
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
index af79210..0d4066f 100644
--- a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
@@ -35,7 +35,7 @@ import org.apache.commons.compress.utils.CharsetNames;
* over the standard {@link GZIPOutputStream} class by allowing
* the configuration of the compression level and the header metadata (filename,
* comment, modification time, operating system and extra flags).
- *
+ *
* @see <a href="http://tools.ietf.org/html/rfc1952">GZIP File Format Specification</a>
*/
public class GzipCompressorOutputStream extends CompressorOutputStream {
@@ -75,27 +75,27 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
* @param out the stream to compress to
* @param parameters the parameters to use
* @throws IOException if writing fails
- *
+ *
* @since 1.7
*/
public GzipCompressorOutputStream(final OutputStream out, final GzipParameters parameters) throws IOException {
this.out = out;
this.deflater = new Deflater(parameters.getCompressionLevel(), true);
-
+
writeHeader(parameters);
}
private void writeHeader(final GzipParameters parameters) throws IOException {
final String filename = parameters.getFilename();
final String comment = parameters.getComment();
-
+
final ByteBuffer buffer = ByteBuffer.allocate(10);
buffer.order(ByteOrder.LITTLE_ENDIAN);
buffer.putShort((short) GZIPInputStream.GZIP_MAGIC);
buffer.put((byte) Deflater.DEFLATED); // compression method (8: deflate)
buffer.put((byte) ((filename != null ? FNAME : 0) | (comment != null ? FCOMMENT : 0))); // flags
buffer.putInt((int) (parameters.getModificationTime() / 1000));
-
+
// extra flags
final int compressionLevel = parameters.getCompressionLevel();
if (compressionLevel == Deflater.BEST_COMPRESSION) {
@@ -105,16 +105,16 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
} else {
buffer.put((byte) 0);
}
-
+
buffer.put((byte) parameters.getOperatingSystem());
-
+
out.write(buffer.array());
-
+
if (filename != null) {
out.write(filename.getBytes(CharsetNames.ISO_8859_1));
out.write(0);
}
-
+
if (comment != null) {
out.write(comment.getBytes(CharsetNames.ISO_8859_1));
out.write(0);
@@ -137,7 +137,7 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
/**
* {@inheritDoc}
- *
+ *
* @since 1.1
*/
@Override
@@ -147,7 +147,7 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
/**
* {@inheritDoc}
- *
+ *
* @since 1.1
*/
@Override
@@ -157,11 +157,11 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
} else if (length > 0) {
deflater.setInput(buffer, offset, length);
-
+
while (!deflater.needsInput()) {
deflate();
}
-
+
crc.update(buffer, offset, length);
}
}
@@ -175,7 +175,7 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
/**
* Finishes writing compressed data to the underlying stream without closing it.
- *
+ *
* @since 1.7
* @throws IOException on error
*/
@@ -186,14 +186,14 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
while (!deflater.finished()) {
deflate();
}
-
+
writeTrailer();
}
}
/**
* {@inheritDoc}
- *
+ *
* @since 1.7
*/
@Override
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java
index ff3b41b..3887a68 100644
--- a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java
+++ b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java
@@ -23,7 +23,7 @@ import java.util.zip.Deflater;
/**
* Parameters for the GZIP compressor.
- *
+ *
* @since 1.7
*/
public class GzipParameters {
@@ -40,8 +40,8 @@ public class GzipParameters {
/**
* Sets the compression level.
- *
- * @param compressionLevel the compression level (between 0 and 9)
+ *
+ * @param compressionLevel the compression level (between 0 and 9)
* @see Deflater#NO_COMPRESSION
* @see Deflater#BEST_SPEED
* @see Deflater#DEFAULT_COMPRESSION
@@ -60,7 +60,7 @@ public class GzipParameters {
/**
* Sets the modification time of the compressed file.
- *
+ *
* @param modificationTime the modification time, in milliseconds
*/
public void setModificationTime(final long modificationTime) {
@@ -73,7 +73,7 @@ public class GzipParameters {
/**
* Sets the name of the compressed file.
- *
+ *
* @param filename the name of the file without the directory path
*/
public void setFilename(final String filename) {
@@ -112,7 +112,7 @@ public class GzipParameters {
* <li>13: Acorn RISCOS</li>
* <li>255: Unknown</li>
* </ul>
- *
+ *
* @param operatingSystem the code of the operating system
*/
public void setOperatingSystem(final int operatingSystem) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java
index 859df16..b7c65f1 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java
@@ -113,13 +113,13 @@ public class LZMACompressorInputStream extends CompressorInputStream {
/**
* Checks if the signature matches what is expected for an lzma file.
- *
+ *
* @param signature
* the bytes to check
* @param length
* the number of bytes to check
* @return true, if this stream is an lzma compressed stream, false otherwise
- *
+ *
* @since 1.10
*/
public static boolean matches(final byte[] signature, final int length) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/lzw/LZWInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/lzw/LZWInputStream.java b/src/main/java/org/apache/commons/compress/compressors/lzw/LZWInputStream.java
index eb5f937..c57d2ab 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lzw/LZWInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/lzw/LZWInputStream.java
@@ -59,7 +59,7 @@ public abstract class LZWInputStream extends CompressorInputStream {
public void close() throws IOException {
in.close();
}
-
+
@Override
public int read() throws IOException {
final int ret = read(oneByte);
@@ -68,7 +68,7 @@ public abstract class LZWInputStream extends CompressorInputStream {
}
return 0xff & oneByte[0];
}
-
+
@Override
public int read(final byte[] b, final int off, final int len) throws IOException {
int bytesRead = readFromStack(b, off, len);
@@ -164,7 +164,7 @@ public abstract class LZWInputStream extends CompressorInputStream {
}
return (int) in.readBits(codeSize);
}
-
+
/**
* Adds a new entry if the maximum table size hasn't been exceeded
* and returns the new index.
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.java
index 7946e10..73d2f92 100644
--- a/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.java
@@ -32,7 +32,7 @@ import org.apache.commons.compress.compressors.CompressorInputStream;
/**
* An input stream that decompresses from the Pack200 format to be read
* as any other stream.
- *
+ *
* <p>The {@link CompressorInputStream#getCount getCount} and {@link
* CompressorInputStream#getBytesRead getBytesRead} methods always
* return 0.</p>
@@ -257,7 +257,7 @@ public class Pack200CompressorInputStream extends CompressorInputStream {
/**
* Checks if the signature matches what is expected for a pack200
* file (0xCAFED00D).
- *
+ *
* @param signature
* the bytes to check
* @param length
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
index 70be0ee..ff43a94 100644
--- a/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.java
@@ -29,7 +29,7 @@ import org.apache.commons.compress.compressors.CompressorOutputStream;
/**
* An output stream that compresses using the Pack200 format.
- *
+ *
* @NotThreadSafe
* @since 1.3
*/
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
index 0f262da..8c9fb2a 100644
--- a/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
@@ -60,7 +60,7 @@ public class FramedSnappyCompressorInputStream extends CompressorInputStream {
/** The underlying stream to read compressed data from */
private final PushbackInputStream in;
-
+
/** The dialect to expect */
private final FramedSnappyDialect dialect;
@@ -308,7 +308,7 @@ public class FramedSnappyCompressorInputStream extends CompressorInputStream {
* Checks if the signature matches what is expected for a .sz file.
*
* <p>.sz files start with a chunk with tag 0xff and content sNaPpY.</p>
- *
+ *
* @param signature the bytes to check
* @param length the number of bytes to check
* @return true if this is a .sz stream, false otherwise
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java b/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
index 9ef2701..b15b4f2 100644
--- a/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
+++ b/src/main/java/org/apache/commons/compress/compressors/snappy/PureJavaCrc32C.java
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
* Some portions of this file Copyright (c) 2004-2006 Intel Corportation
* and licensed under the BSD license.
*/
@@ -90,7 +90,7 @@ final class PureJavaCrc32C implements Checksum {
default:
/* nothing */
}
-
+
// Publish crc out to object
crc = localCrc;
}
@@ -99,7 +99,7 @@ final class PureJavaCrc32C implements Checksum {
final public void update(final int b) {
crc = (crc >>> 8) ^ T[T8_0_START + ((crc ^ b) & 0xff)];
}
-
+
// CRC polynomial tables generated by:
// java -cp build/test/classes/:build/classes/ \
// org.apache.hadoop.util.TestPureJavaCrc32\$Table 82F63B78
@@ -115,524 +115,524 @@ final class PureJavaCrc32C implements Checksum {
private static final int[] T = new int[] {
/* T8_0 */
- 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4,
- 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB,
- 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B,
- 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24,
- 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B,
- 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384,
- 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54,
- 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B,
- 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A,
- 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35,
- 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5,
- 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA,
- 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45,
- 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A,
- 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A,
- 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595,
- 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48,
- 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957,
- 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687,
- 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198,
- 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927,
- 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38,
- 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8,
- 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7,
- 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096,
- 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789,
- 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859,
- 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46,
- 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9,
- 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6,
- 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36,
- 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829,
- 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C,
- 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93,
- 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043,
- 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C,
- 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3,
- 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC,
- 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C,
- 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033,
- 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652,
- 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D,
- 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D,
- 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982,
- 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D,
- 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622,
- 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2,
- 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED,
- 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530,
- 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F,
- 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF,
- 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0,
- 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F,
- 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540,
- 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90,
- 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F,
- 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE,
- 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1,
- 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321,
- 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E,
- 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81,
- 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E,
- 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E,
- 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351,
+ 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4,
+ 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB,
+ 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B,
+ 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24,
+ 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B,
+ 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384,
+ 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54,
+ 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B,
+ 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A,
+ 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35,
+ 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5,
+ 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA,
+ 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45,
+ 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A,
+ 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A,
+ 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595,
+ 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48,
+ 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957,
+ 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687,
+ 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198,
+ 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927,
+ 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38,
+ 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8,
+ 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7,
+ 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096,
+ 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789,
+ 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859,
+ 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46,
+ 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9,
+ 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6,
+ 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36,
+ 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829,
+ 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C,
+ 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93,
+ 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043,
+ 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C,
+ 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3,
+ 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC,
+ 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C,
+ 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033,
+ 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652,
+ 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D,
+ 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D,
+ 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982,
+ 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D,
+ 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622,
+ 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2,
+ 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED,
+ 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530,
+ 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F,
+ 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF,
+ 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0,
+ 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F,
+ 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540,
+ 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90,
+ 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F,
+ 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE,
+ 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1,
+ 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321,
+ 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E,
+ 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81,
+ 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E,
+ 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E,
+ 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351,
/* T8_1 */
- 0x00000000, 0x13A29877, 0x274530EE, 0x34E7A899,
- 0x4E8A61DC, 0x5D28F9AB, 0x69CF5132, 0x7A6DC945,
- 0x9D14C3B8, 0x8EB65BCF, 0xBA51F356, 0xA9F36B21,
- 0xD39EA264, 0xC03C3A13, 0xF4DB928A, 0xE7790AFD,
- 0x3FC5F181, 0x2C6769F6, 0x1880C16F, 0x0B225918,
- 0x714F905D, 0x62ED082A, 0x560AA0B3, 0x45A838C4,
- 0xA2D13239, 0xB173AA4E, 0x859402D7, 0x96369AA0,
- 0xEC5B53E5, 0xFFF9CB92, 0xCB1E630B, 0xD8BCFB7C,
- 0x7F8BE302, 0x6C297B75, 0x58CED3EC, 0x4B6C4B9B,
- 0x310182DE, 0x22A31AA9, 0x1644B230, 0x05E62A47,
- 0xE29F20BA, 0xF13DB8CD, 0xC5DA1054, 0xD6788823,
- 0xAC154166, 0xBFB7D911, 0x8B507188, 0x98F2E9FF,
- 0x404E1283, 0x53EC8AF4, 0x670B226D, 0x74A9BA1A,
- 0x0EC4735F, 0x1D66EB28, 0x298143B1, 0x3A23DBC6,
- 0xDD5AD13B, 0xCEF8494C, 0xFA1FE1D5, 0xE9BD79A2,
- 0x93D0B0E7, 0x80722890, 0xB4958009, 0xA737187E,
- 0xFF17C604, 0xECB55E73, 0xD852F6EA, 0xCBF06E9D,
- 0xB19DA7D8, 0xA23F3FAF, 0x96D89736, 0x857A0F41,
- 0x620305BC, 0x71A19DCB, 0x45463552, 0x56E4AD25,
- 0x2C896460, 0x3F2BFC17, 0x0BCC548E, 0x186ECCF9,
- 0xC0D23785, 0xD370AFF2, 0xE797076B, 0xF4359F1C,
- 0x8E585659, 0x9DFACE2E, 0xA91D66B7, 0xBABFFEC0,
- 0x5DC6F43D, 0x4E646C4A, 0x7A83C4D3, 0x69215CA4,
- 0x134C95E1, 0x00EE0D96, 0x3409A50F, 0x27AB3D78,
- 0x809C2506, 0x933EBD71, 0xA7D915E8, 0xB47B8D9F,
- 0xCE1644DA, 0xDDB4DCAD, 0xE9537434, 0xFAF1EC43,
- 0x1D88E6BE, 0x0E2A7EC9, 0x3ACDD650, 0x296F4E27,
- 0x53028762, 0x40A01F15, 0x7447B78C, 0x67E52FFB,
- 0xBF59D487, 0xACFB4CF0, 0x981CE469, 0x8BBE7C1E,
- 0xF1D3B55B, 0xE2712D2C, 0xD69685B5, 0xC5341DC2,
- 0x224D173F, 0x31EF8F48, 0x050827D1, 0x16AABFA6,
- 0x6CC776E3, 0x7F65EE94, 0x4B82460D, 0x5820DE7A,
- 0xFBC3FAF9, 0xE861628E, 0xDC86CA17, 0xCF245260,
- 0xB5499B25, 0xA6EB0352, 0x920CABCB, 0x81AE33BC,
- 0x66D73941, 0x7575A136, 0x419209AF, 0x523091D8,
- 0x285D589D, 0x3BFFC0EA, 0x0F186873, 0x1CBAF004,
- 0xC4060B78, 0xD7A4930F, 0xE3433B96, 0xF0E1A3E1,
- 0x8A8C6AA4, 0x992EF2D3, 0xADC95A4A, 0xBE6BC23D,
- 0x5912C8C0, 0x4AB050B7, 0x7E57F82E, 0x6DF56059,
- 0x1798A91C, 0x043A316B, 0x30DD99F2, 0x237F0185,
- 0x844819FB, 0x97EA818C, 0xA30D2915, 0xB0AFB162,
- 0xCAC27827, 0xD960E050, 0xED8748C9, 0xFE25D0BE,
- 0x195CDA43, 0x0AFE4234, 0x3E19EAAD, 0x2DBB72DA,
- 0x57D6BB9F, 0x447423E8, 0x70938B71, 0x63311306,
- 0xBB8DE87A, 0xA82F700D, 0x9CC8D894, 0x8F6A40E3,
- 0xF50789A6, 0xE6A511D1, 0xD242B948, 0xC1E0213F,
- 0x26992BC2, 0x353BB3B5, 0x01DC1B2C, 0x127E835B,
- 0x68134A1E, 0x7BB1D269, 0x4F567AF0, 0x5CF4E287,
- 0x04D43CFD, 0x1776A48A, 0x23910C13, 0x30339464,
- 0x4A5E5D21, 0x59FCC556, 0x6D1B6DCF, 0x7EB9F5B8,
- 0x99C0FF45, 0x8A626732, 0xBE85CFAB, 0xAD2757DC,
- 0xD74A9E99, 0xC4E806EE, 0xF00FAE77, 0xE3AD3600,
- 0x3B11CD7C, 0x28B3550B, 0x1C54FD92, 0x0FF665E5,
- 0x759BACA0, 0x663934D7, 0x52DE9C4E, 0x417C0439,
- 0xA6050EC4, 0xB5A796B3, 0x81403E2A, 0x92E2A65D,
- 0xE88F6F18, 0xFB2DF76F, 0xCFCA5FF6, 0xDC68C781,
- 0x7B5FDFFF, 0x68FD4788, 0x5C1AEF11, 0x4FB87766,
- 0x35D5BE23, 0x26772654, 0x12908ECD, 0x013216BA,
- 0xE64B1C47, 0xF5E98430, 0xC10E2CA9, 0xD2ACB4DE,
- 0xA8C17D9B, 0xBB63E5EC, 0x8F844D75, 0x9C26D502,
- 0x449A2E7E, 0x5738B609, 0x63DF1E90, 0x707D86E7,
- 0x0A104FA2, 0x19B2D7D5, 0x2D557F4C, 0x3EF7E73B,
- 0xD98EEDC6, 0xCA2C75B1, 0xFECBDD28, 0xED69455F,
- 0x97048C1A, 0x84A6146D, 0xB041BCF4, 0xA3E32483,
+ 0x00000000, 0x13A29877, 0x274530EE, 0x34E7A899,
+ 0x4E8A61DC, 0x5D28F9AB, 0x69CF5132, 0x7A6DC945,
+ 0x9D14C3B8, 0x8EB65BCF, 0xBA51F356, 0xA9F36B21,
+ 0xD39EA264, 0xC03C3A13, 0xF4DB928A, 0xE7790AFD,
+ 0x3FC5F181, 0x2C6769F6, 0x1880C16F, 0x0B225918,
+ 0x714F905D, 0x62ED082A, 0x560AA0B3, 0x45A838C4,
+ 0xA2D13239, 0xB173AA4E, 0x859402D7, 0x96369AA0,
+ 0xEC5B53E5, 0xFFF9CB92, 0xCB1E630B, 0xD8BCFB7C,
+ 0x7F8BE302, 0x6C297B75, 0x58CED3EC, 0x4B6C4B9B,
+ 0x310182DE, 0x22A31AA9, 0x1644B230, 0x05E62A47,
+ 0xE29F20BA, 0xF13DB8CD, 0xC5DA1054, 0xD6788823,
+ 0xAC154166, 0xBFB7D911, 0x8B507188, 0x98F2E9FF,
+ 0x404E1283, 0x53EC8AF4, 0x670B226D, 0x74A9BA1A,
+ 0x0EC4735F, 0x1D66EB28, 0x298143B1, 0x3A23DBC6,
+ 0xDD5AD13B, 0xCEF8494C, 0xFA1FE1D5, 0xE9BD79A2,
+ 0x93D0B0E7, 0x80722890, 0xB4958009, 0xA737187E,
+ 0xFF17C604, 0xECB55E73, 0xD852F6EA, 0xCBF06E9D,
+ 0xB19DA7D8, 0xA23F3FAF, 0x96D89736, 0x857A0F41,
+ 0x620305BC, 0x71A19DCB, 0x45463552, 0x56E4AD25,
+ 0x2C896460, 0x3F2BFC17, 0x0BCC548E, 0x186ECCF9,
+ 0xC0D23785, 0xD370AFF2, 0xE797076B, 0xF4359F1C,
+ 0x8E585659, 0x9DFACE2E, 0xA91D66B7, 0xBABFFEC0,
+ 0x5DC6F43D, 0x4E646C4A, 0x7A83C4D3, 0x69215CA4,
+ 0x134C95E1, 0x00EE0D96, 0x3409A50F, 0x27AB3D78,
+ 0x809C2506, 0x933EBD71, 0xA7D915E8, 0xB47B8D9F,
+ 0xCE1644DA, 0xDDB4DCAD, 0xE9537434, 0xFAF1EC43,
+ 0x1D88E6BE, 0x0E2A7EC9, 0x3ACDD650, 0x296F4E27,
+ 0x53028762, 0x40A01F15, 0x7447B78C, 0x67E52FFB,
+ 0xBF59D487, 0xACFB4CF0, 0x981CE469, 0x8BBE7C1E,
+ 0xF1D3B55B, 0xE2712D2C, 0xD69685B5, 0xC5341DC2,
+ 0x224D173F, 0x31EF8F48, 0x050827D1, 0x16AABFA6,
+ 0x6CC776E3, 0x7F65EE94, 0x4B82460D, 0x5820DE7A,
+ 0xFBC3FAF9, 0xE861628E, 0xDC86CA17, 0xCF245260,
+ 0xB5499B25, 0xA6EB0352, 0x920CABCB, 0x81AE33BC,
+ 0x66D73941, 0x7575A136, 0x419209AF, 0x523091D8,
+ 0x285D589D, 0x3BFFC0EA, 0x0F186873, 0x1CBAF004,
+ 0xC4060B78, 0xD7A4930F, 0xE3433B96, 0xF0E1A3E1,
+ 0x8A8C6AA4, 0x992EF2D3, 0xADC95A4A, 0xBE6BC23D,
+ 0x5912C8C0, 0x4AB050B7, 0x7E57F82E, 0x6DF56059,
+ 0x1798A91C, 0x043A316B, 0x30DD99F2, 0x237F0185,
+ 0x844819FB, 0x97EA818C, 0xA30D2915, 0xB0AFB162,
+ 0xCAC27827, 0xD960E050, 0xED8748C9, 0xFE25D0BE,
+ 0x195CDA43, 0x0AFE4234, 0x3E19EAAD, 0x2DBB72DA,
+ 0x57D6BB9F, 0x447423E8, 0x70938B71, 0x63311306,
+ 0xBB8DE87A, 0xA82F700D, 0x9CC8D894, 0x8F6A40E3,
+ 0xF50789A6, 0xE6A511D1, 0xD242B948, 0xC1E0213F,
+ 0x26992BC2, 0x353BB3B5, 0x01DC1B2C, 0x127E835B,
+ 0x68134A1E, 0x7BB1D269, 0x4F567AF0, 0x5CF4E287,
+ 0x04D43CFD, 0x1776A48A, 0x23910C13, 0x30339464,
+ 0x4A5E5D21, 0x59FCC556, 0x6D1B6DCF, 0x7EB9F5B8,
+ 0x99C0FF45, 0x8A626732, 0xBE85CFAB, 0xAD2757DC,
+ 0xD74A9E99, 0xC4E806EE, 0xF00FAE77, 0xE3AD3600,
+ 0x3B11CD7C, 0x28B3550B, 0x1C54FD92, 0x0FF665E5,
+ 0x759BACA0, 0x663934D7, 0x52DE9C4E, 0x417C0439,
+ 0xA6050EC4, 0xB5A796B3, 0x81403E2A, 0x92E2A65D,
+ 0xE88F6F18, 0xFB2DF76F, 0xCFCA5FF6, 0xDC68C781,
+ 0x7B5FDFFF, 0x68FD4788, 0x5C1AEF11, 0x4FB87766,
+ 0x35D5BE23, 0x26772654, 0x12908ECD, 0x013216BA,
+ 0xE64B1C47, 0xF5E98430, 0xC10E2CA9, 0xD2ACB4DE,
+ 0xA8C17D9B, 0xBB63E5EC, 0x8F844D75, 0x9C26D502,
+ 0x449A2E7E, 0x5738B609, 0x63DF1E90, 0x707D86E7,
+ 0x0A104FA2, 0x19B2D7D5, 0x2D557F4C, 0x3EF7E73B,
+ 0xD98EEDC6, 0xCA2C75B1, 0xFECBDD28, 0xED69455F,
+ 0x97048C1A, 0x84A6146D, 0xB041BCF4, 0xA3E32483,
/* T8_2 */
- 0x00000000, 0xA541927E, 0x4F6F520D, 0xEA2EC073,
- 0x9EDEA41A, 0x3B9F3664, 0xD1B1F617, 0x74F06469,
- 0x38513EC5, 0x9D10ACBB, 0x773E6CC8, 0xD27FFEB6,
- 0xA68F9ADF, 0x03CE08A1, 0xE9E0C8D2, 0x4CA15AAC,
- 0x70A27D8A, 0xD5E3EFF4, 0x3FCD2F87, 0x9A8CBDF9,
- 0xEE7CD990, 0x4B3D4BEE, 0xA1138B9D, 0x045219E3,
- 0x48F3434F, 0xEDB2D131, 0x079C1142, 0xA2DD833C,
- 0xD62DE755, 0x736C752B, 0x9942B558, 0x3C032726,
- 0xE144FB14, 0x4405696A, 0xAE2BA919, 0x0B6A3B67,
- 0x7F9A5F0E, 0xDADBCD70, 0x30F50D03, 0x95B49F7D,
- 0xD915C5D1, 0x7C5457AF, 0x967A97DC, 0x333B05A2,
- 0x47CB61CB, 0xE28AF3B5, 0x08A433C6, 0xADE5A1B8,
- 0x91E6869E, 0x34A714E0, 0xDE89D493, 0x7BC846ED,
- 0x0F382284, 0xAA79B0FA, 0x40577089, 0xE516E2F7,
- 0xA9B7B85B, 0x0CF62A25, 0xE6D8EA56, 0x43997828,
- 0x37691C41, 0x92288E3F, 0x78064E4C, 0xDD47DC32,
- 0xC76580D9, 0x622412A7, 0x880AD2D4, 0x2D4B40AA,
- 0x59BB24C3, 0xFCFAB6BD, 0x16D476CE, 0xB395E4B0,
- 0xFF34BE1C, 0x5A752C62, 0xB05BEC11, 0x151A7E6F,
- 0x61EA1A06, 0xC4AB8878, 0x2E85480B, 0x8BC4DA75,
- 0xB7C7FD53, 0x12866F2D, 0xF8A8AF5E, 0x5DE93D20,
- 0x29195949, 0x8C58CB37, 0x66760B44, 0xC337993A,
- 0x8F96C396, 0x2AD751E8, 0xC0F9919B, 0x65B803E5,
- 0x1148678C, 0xB409F5F2, 0x5E273581, 0xFB66A7FF,
- 0x26217BCD, 0x8360E9B3, 0x694E29C0, 0xCC0FBBBE,
- 0xB8FFDFD7, 0x1DBE4DA9, 0xF7908DDA, 0x52D11FA4,
- 0x1E704508, 0xBB31D776, 0x511F1705, 0xF45E857B,
- 0x80AEE112, 0x25EF736C, 0xCFC1B31F, 0x6A802161,
- 0x56830647, 0xF3C29439, 0x19EC544A, 0xBCADC634,
- 0xC85DA25D, 0x6D1C3023, 0x8732F050, 0x2273622E,
- 0x6ED23882, 0xCB93AAFC, 0x21BD6A8F, 0x84FCF8F1,
- 0xF00C9C98, 0x554D0EE6, 0xBF63CE95, 0x1A225CEB,
- 0x8B277743, 0x2E66E53D, 0xC448254E, 0x6109B730,
- 0x15F9D359, 0xB0B84127, 0x5A968154, 0xFFD7132A,
- 0xB3764986, 0x1637DBF8, 0xFC191B8B, 0x595889F5,
- 0x2DA8ED9C, 0x88E97FE2, 0x62C7BF91, 0xC7862DEF,
- 0xFB850AC9, 0x5EC498B7, 0xB4EA58C4, 0x11ABCABA,
- 0x655BAED3, 0xC01A3CAD, 0x2A34FCDE, 0x8F756EA0,
- 0xC3D4340C, 0x6695A672, 0x8CBB6601, 0x29FAF47F,
- 0x5D0A9016, 0xF84B0268, 0x1265C21B, 0xB7245065,
- 0x6A638C57, 0xCF221E29, 0x250CDE5A, 0x804D4C24,
- 0xF4BD284D, 0x51FCBA33, 0xBBD27A40, 0x1E93E83E,
- 0x5232B292, 0xF77320EC, 0x1D5DE09F, 0xB81C72E1,
- 0xCCEC1688, 0x69AD84F6, 0x83834485, 0x26C2D6FB,
- 0x1AC1F1DD, 0xBF8063A3, 0x55AEA3D0, 0xF0EF31AE,
- 0x841F55C7, 0x215EC7B9, 0xCB7007CA, 0x6E3195B4,
- 0x2290CF18, 0x87D15D66, 0x6DFF9D15, 0xC8BE0F6B,
- 0xBC4E6B02, 0x190FF97C, 0xF321390F, 0x5660AB71,
- 0x4C42F79A, 0xE90365E4, 0x032DA597, 0xA66C37E9,
- 0xD29C5380, 0x77DDC1FE, 0x9DF3018D, 0x38B293F3,
- 0x7413C95F, 0xD1525B21, 0x3B7C9B52, 0x9E3D092C,
- 0xEACD6D45, 0x4F8CFF3B, 0xA5A23F48, 0x00E3AD36,
- 0x3CE08A10, 0x99A1186E, 0x738FD81D, 0xD6CE4A63,
- 0xA23E2E0A, 0x077FBC74, 0xED517C07, 0x4810EE79,
- 0x04B1B4D5, 0xA1F026AB, 0x4BDEE6D8, 0xEE9F74A6,
- 0x9A6F10CF, 0x3F2E82B1, 0xD50042C2, 0x7041D0BC,
- 0xAD060C8E, 0x08479EF0, 0xE2695E83, 0x4728CCFD,
- 0x33D8A894, 0x96993AEA, 0x7CB7FA99, 0xD9F668E7,
- 0x9557324B, 0x3016A035, 0xDA386046, 0x7F79F238,
- 0x0B899651, 0xAEC8042F, 0x44E6C45C, 0xE1A75622,
- 0xDDA47104, 0x78E5E37A, 0x92CB2309, 0x378AB177,
- 0x437AD51E, 0xE63B4760, 0x0C158713, 0xA954156D,
- 0xE5F54FC1, 0x40B4DDBF, 0xAA9A1DCC, 0x0FDB8FB2,
- 0x7B2BEBDB, 0xDE6A79A5, 0x3444B9D6, 0x91052BA8,
+ 0x00000000, 0xA541927E, 0x4F6F520D, 0xEA2EC073,
+ 0x9EDEA41A, 0x3B9F3664, 0xD1B1F617, 0x74F06469,
+ 0x38513EC5, 0x9D10ACBB, 0x773E6CC8, 0xD27FFEB6,
+ 0xA68F9ADF, 0x03CE08A1, 0xE9E0C8D2, 0x4CA15AAC,
+ 0x70A27D8A, 0xD5E3EFF4, 0x3FCD2F87, 0x9A8CBDF9,
+ 0xEE7CD990, 0x4B3D4BEE, 0xA1138B9D, 0x045219E3,
+ 0x48F3434F, 0xEDB2D131, 0x079C1142, 0xA2DD833C,
+ 0xD62DE755, 0x736C752B, 0x9942B558, 0x3C032726,
+ 0xE144FB14, 0x4405696A, 0xAE2BA919, 0x0B6A3B67,
+ 0x7F9A5F0E, 0xDADBCD70, 0x30F50D03, 0x95B49F7D,
+ 0xD915C5D1, 0x7C5457AF, 0x967A97DC, 0x333B05A2,
+ 0x47CB61CB, 0xE28AF3B5, 0x08A433C6, 0xADE5A1B8,
+ 0x91E6869E, 0x34A714E0, 0xDE89D493, 0x7BC846ED,
+ 0x0F382284, 0xAA79B0FA, 0x40577089, 0xE516E2F7,
+ 0xA9B7B85B, 0x0CF62A25, 0xE6D8EA56, 0x43997828,
+ 0x37691C41, 0x92288E3F, 0x78064E4C, 0xDD47DC32,
+ 0xC76580D9, 0x622412A7, 0x880AD2D4, 0x2D4B40AA,
+ 0x59BB24C3, 0xFCFAB6BD, 0x16D476CE, 0xB395E4B0,
+ 0xFF34BE1C, 0x5A752C62, 0xB05BEC11, 0x151A7E6F,
+ 0x61EA1A06, 0xC4AB8878, 0x2E85480B, 0x8BC4DA75,
+ 0xB7C7FD53, 0x12866F2D, 0xF8A8AF5E, 0x5DE93D20,
+ 0x29195949, 0x8C58CB37, 0x66760B44, 0xC337993A,
+ 0x8F96C396, 0x2AD751E8, 0xC0F9919B, 0x65B803E5,
+ 0x1148678C, 0xB409F5F2, 0x5E273581, 0xFB66A7FF,
+ 0x26217BCD, 0x8360E9B3, 0x694E29C0, 0xCC0FBBBE,
+ 0xB8FFDFD7, 0x1DBE4DA9, 0xF7908DDA, 0x52D11FA4,
+ 0x1E704508, 0xBB31D776, 0x511F1705, 0xF45E857B,
+ 0x80AEE112, 0x25EF736C, 0xCFC1B31F, 0x6A802161,
+ 0x56830647, 0xF3C29439, 0x19EC544A, 0xBCADC634,
+ 0xC85DA25D, 0x6D1C3023, 0x8732F050, 0x2273622E,
+ 0x6ED23882, 0xCB93AAFC, 0x21BD6A8F, 0x84FCF8F1,
+ 0xF00C9C98, 0x554D0EE6, 0xBF63CE95, 0x1A225CEB,
+ 0x8B277743, 0x2E66E53D, 0xC448254E, 0x6109B730,
+ 0x15F9D359, 0xB0B84127, 0x5A968154, 0xFFD7132A,
+ 0xB3764986, 0x1637DBF8, 0xFC191B8B, 0x595889F5,
+ 0x2DA8ED9C, 0x88E97FE2, 0x62C7BF91, 0xC7862DEF,
+ 0xFB850AC9, 0x5EC498B7, 0xB4EA58C4, 0x11ABCABA,
+ 0x655BAED3, 0xC01A3CAD, 0x2A34FCDE, 0x8F756EA0,
+ 0xC3D4340C, 0x6695A672, 0x8CBB6601, 0x29FAF47F,
+ 0x5D0A9016, 0xF84B0268, 0x1265C21B, 0xB7245065,
+ 0x6A638C57, 0xCF221E29, 0x250CDE5A, 0x804D4C24,
+ 0xF4BD284D, 0x51FCBA33, 0xBBD27A40, 0x1E93E83E,
+ 0x5232B292, 0xF77320EC, 0x1D5DE09F, 0xB81C72E1,
+ 0xCCEC1688, 0x69AD84F6, 0x83834485, 0x26C2D6FB,
+ 0x1AC1F1DD, 0xBF8063A3, 0x55AEA3D0, 0xF0EF31AE,
+ 0x841F55C7, 0x215EC7B9, 0xCB7007CA, 0x6E3195B4,
+ 0x2290CF18, 0x87D15D66, 0x6DFF9D15, 0xC8BE0F6B,
+ 0xBC4E6B02, 0x190FF97C, 0xF321390F, 0x5660AB71,
+ 0x4C42F79A, 0xE90365E4, 0x032DA597, 0xA66C37E9,
+ 0xD29C5380, 0x77DDC1FE, 0x9DF3018D, 0x38B293F3,
+ 0x7413C95F, 0xD1525B21, 0x3B7C9B52, 0x9E3D092C,
+ 0xEACD6D45, 0x4F8CFF3B, 0xA5A23F48, 0x00E3AD36,
+ 0x3CE08A10, 0x99A1186E, 0x738FD81D, 0xD6CE4A63,
+ 0xA23E2E0A, 0x077FBC74, 0xED517C07, 0x4810EE79,
+ 0x04B1B4D5, 0xA1F026AB, 0x4BDEE6D8, 0xEE9F74A6,
+ 0x9A6F10CF, 0x3F2E82B1, 0xD50042C2, 0x7041D0BC,
+ 0xAD060C8E, 0x08479EF0, 0xE2695E83, 0x4728CCFD,
+ 0x33D8A894, 0x96993AEA, 0x7CB7FA99, 0xD9F668E7,
+ 0x9557324B, 0x3016A035, 0xDA386046, 0x7F79F238,
+ 0x0B899651, 0xAEC8042F, 0x44E6C45C, 0xE1A75622,
+ 0xDDA47104, 0x78E5E37A, 0x92CB2309, 0x378AB177,
+ 0x437AD51E, 0xE63B4760, 0x0C158713, 0xA954156D,
+ 0xE5F54FC1, 0x40B4DDBF, 0xAA9A1DCC, 0x0FDB8FB2,
+ 0x7B2BEBDB, 0xDE6A79A5, 0x3444B9D6, 0x91052BA8,
/* T8_3 */
- 0x00000000, 0xDD45AAB8, 0xBF672381, 0x62228939,
- 0x7B2231F3, 0xA6679B4B, 0xC4451272, 0x1900B8CA,
- 0xF64463E6, 0x2B01C95E, 0x49234067, 0x9466EADF,
- 0x8D665215, 0x5023F8AD, 0x32017194, 0xEF44DB2C,
- 0xE964B13D, 0x34211B85, 0x560392BC, 0x8B463804,
- 0x924680CE, 0x4F032A76, 0x2D21A34F, 0xF06409F7,
- 0x1F20D2DB, 0xC2657863, 0xA047F15A, 0x7D025BE2,
- 0x6402E328, 0xB9474990, 0xDB65C0A9, 0x06206A11,
- 0xD725148B, 0x0A60BE33, 0x6842370A, 0xB5079DB2,
- 0xAC072578, 0x71428FC0, 0x136006F9, 0xCE25AC41,
- 0x2161776D, 0xFC24DDD5, 0x9E0654EC, 0x4343FE54,
- 0x5A43469E, 0x8706EC26, 0xE524651F, 0x3861CFA7,
- 0x3E41A5B6, 0xE3040F0E, 0x81268637, 0x5C632C8F,
- 0x45639445, 0x98263EFD, 0xFA04B7C4, 0x27411D7C,
- 0xC805C650, 0x15406CE8, 0x7762E5D1, 0xAA274F69,
- 0xB327F7A3, 0x6E625D1B, 0x0C40D422, 0xD1057E9A,
- 0xABA65FE7, 0x76E3F55F, 0x14C17C66, 0xC984D6DE,
- 0xD0846E14, 0x0DC1C4AC, 0x6FE34D95, 0xB2A6E72D,
- 0x5DE23C01, 0x80A796B9, 0xE2851F80, 0x3FC0B538,
- 0x26C00DF2, 0xFB85A74A, 0x99A72E73, 0x44E284CB,
- 0x42C2EEDA, 0x9F874462, 0xFDA5CD5B, 0x20E067E3,
- 0x39E0DF29, 0xE4A57591, 0x8687FCA8, 0x5BC25610,
- 0xB4868D3C, 0x69C32784, 0x0BE1AEBD, 0xD6A40405,
- 0xCFA4BCCF, 0x12E11677, 0x70C39F4E, 0xAD8635F6,
- 0x7C834B6C, 0xA1C6E1D4, 0xC3E468ED, 0x1EA1C255,
- 0x07A17A9F, 0xDAE4D027, 0xB8C6591E, 0x6583F3A6,
- 0x8AC7288A, 0x57828232, 0x35A00B0B, 0xE8E5A1B3,
- 0xF1E51979, 0x2CA0B3C1, 0x4E823AF8, 0x93C79040,
- 0x95E7FA51, 0x48A250E9, 0x2A80D9D0, 0xF7C57368,
- 0xEEC5CBA2, 0x3380611A, 0x51A2E823, 0x8CE7429B,
- 0x63A399B7, 0xBEE6330F, 0xDCC4BA36, 0x0181108E,
- 0x1881A844, 0xC5C402FC, 0xA7E68BC5, 0x7AA3217D,
- 0x52A0C93F, 0x8FE56387, 0xEDC7EABE, 0x30824006,
- 0x2982F8CC, 0xF4C75274, 0x96E5DB4D, 0x4BA071F5,
- 0xA4E4AAD9, 0x79A10061, 0x1B838958, 0xC6C623E0,
- 0xDFC69B2A, 0x02833192, 0x60A1B8AB, 0xBDE41213,
- 0xBBC47802, 0x6681D2BA, 0x04A35B83, 0xD9E6F13B,
- 0xC0E649F1, 0x1DA3E349, 0x7F816A70, 0xA2C4C0C8,
- 0x4D801BE4, 0x90C5B15C, 0xF2E73865, 0x2FA292DD,
- 0x36A22A17, 0xEBE780AF, 0x89C50996, 0x5480A32E,
- 0x8585DDB4, 0x58C0770C, 0x3AE2FE35, 0xE7A7548D,
- 0xFEA7EC47, 0x23E246FF, 0x41C0CFC6, 0x9C85657E,
- 0x73C1BE52, 0xAE8414EA, 0xCCA69DD3, 0x11E3376B,
- 0x08E38FA1, 0xD5A62519, 0xB784AC20, 0x6AC10698,
- 0x6CE16C89, 0xB1A4C631, 0xD3864F08, 0x0EC3E5B0,
- 0x17C35D7A, 0xCA86F7C2, 0xA8A47EFB, 0x75E1D443,
- 0x9AA50F6F, 0x47E0A5D7, 0x25C22CEE, 0xF8878656,
- 0xE1873E9C, 0x3CC29424, 0x5EE01D1D, 0x83A5B7A5,
- 0xF90696D8, 0x24433C60, 0x4661B559, 0x9B241FE1,
- 0x8224A72B, 0x5F610D93, 0x3D4384AA, 0xE0062E12,
- 0x0F42F53E, 0xD2075F86, 0xB025D6BF, 0x6D607C07,
- 0x7460C4CD, 0xA9256E75, 0xCB07E74C, 0x16424DF4,
- 0x106227E5, 0xCD278D5D, 0xAF050464, 0x7240AEDC,
- 0x6B401616, 0xB605BCAE, 0xD4273597, 0x09629F2F,
- 0xE6264403, 0x3B63EEBB, 0x59416782, 0x8404CD3A,
- 0x9D0475F0, 0x4041DF48, 0x22635671, 0xFF26FCC9,
- 0x2E238253, 0xF36628EB, 0x9144A1D2, 0x4C010B6A,
- 0x5501B3A0, 0x88441918, 0xEA669021, 0x37233A99,
- 0xD867E1B5, 0x05224B0D, 0x6700C234, 0xBA45688C,
- 0xA345D046, 0x7E007AFE, 0x1C22F3C7, 0xC167597F,
- 0xC747336E, 0x1A0299D6, 0x782010EF, 0xA565BA57,
- 0xBC65029D, 0x6120A825, 0x0302211C, 0xDE478BA4,
- 0x31035088, 0xEC46FA30, 0x8E647309, 0x5321D9B1,
- 0x4A21617B, 0x9764CBC3, 0xF54642FA, 0x2803E842,
+ 0x00000000, 0xDD45AAB8, 0xBF672381, 0x62228939,
+ 0x7B2231F3, 0xA6679B4B, 0xC4451272, 0x1900B8CA,
+ 0xF64463E6, 0x2B01C95E, 0x49234067, 0x9466EADF,
+ 0x8D665215, 0x5023F8AD, 0x32017194, 0xEF44DB2C,
+ 0xE964B13D, 0x34211B85, 0x560392BC, 0x8B463804,
+ 0x924680CE, 0x4F032A76, 0x2D21A34F, 0xF06409F7,
+ 0x1F20D2DB, 0xC2657863, 0xA047F15A, 0x7D025BE2,
+ 0x6402E328, 0xB9474990, 0xDB65C0A9, 0x06206A11,
+ 0xD725148B, 0x0A60BE33, 0x6842370A, 0xB5079DB2,
+ 0xAC072578, 0x71428FC0, 0x136006F9, 0xCE25AC41,
+ 0x2161776D, 0xFC24DDD5, 0x9E0654EC, 0x4343FE54,
+ 0x5A43469E, 0x8706EC26, 0xE524651F, 0x3861CFA7,
+ 0x3E41A5B6, 0xE3040F0E, 0x81268637, 0x5C632C8F,
+ 0x45639445, 0x98263EFD, 0xFA04B7C4, 0x27411D7C,
+ 0xC805C650, 0x15406CE8, 0x7762E5D1, 0xAA274F69,
+ 0xB327F7A3, 0x6E625D1B, 0x0C40D422, 0xD1057E9A,
+ 0xABA65FE7, 0x76E3F55F, 0x14C17C66, 0xC984D6DE,
+ 0xD0846E14, 0x0DC1C4AC, 0x6FE34D95, 0xB2A6E72D,
+ 0x5DE23C01, 0x80A796B9, 0xE2851F80, 0x3FC0B538,
+ 0x26C00DF2, 0xFB85A74A, 0x99A72E73, 0x44E284CB,
+ 0x42C2EEDA, 0x9F874462, 0xFDA5CD5B, 0x20E067E3,
+ 0x39E0DF29, 0xE4A57591, 0x8687FCA8, 0x5BC25610,
+ 0xB4868D3C, 0x69C32784, 0x0BE1AEBD, 0xD6A40405,
+ 0xCFA4BCCF, 0x12E11677, 0x70C39F4E, 0xAD8635F6,
+ 0x7C834B6C, 0xA1C6E1D4, 0xC3E468ED, 0x1EA1C255,
+ 0x07A17A9F, 0xDAE4D027, 0xB8C6591E, 0x6583F3A6,
+ 0x8AC7288A, 0x57828232, 0x35A00B0B, 0xE8E5A1B3,
+ 0xF1E51979, 0x2CA0B3C1, 0x4E823AF8, 0x93C79040,
+ 0x95E7FA51, 0x48A250E9, 0x2A80D9D0, 0xF7C57368,
+ 0xEEC5CBA2, 0x3380611A, 0x51A2E823, 0x8CE7429B,
+ 0x63A399B7, 0xBEE6330F, 0xDCC4BA36, 0x0181108E,
+ 0x1881A844, 0xC5C402FC, 0xA7E68BC5, 0x7AA3217D,
+ 0x52A0C93F, 0x8FE56387, 0xEDC7EABE, 0x30824006,
+ 0x2982F8CC, 0xF4C75274, 0x96E5DB4D, 0x4BA071F5,
+ 0xA4E4AAD9, 0x79A10061, 0x1B838958, 0xC6C623E0,
+ 0xDFC69B2A, 0x02833192, 0x60A1B8AB, 0xBDE41213,
+ 0xBBC47802, 0x6681D2BA, 0x04A35B83, 0xD9E6F13B,
+ 0xC0E649F1, 0x1DA3E349, 0x7F816A70, 0xA2C4C0C8,
+ 0x4D801BE4, 0x90C5B15C, 0xF2E73865, 0x2FA292DD,
+ 0x36A22A17, 0xEBE780AF, 0x89C50996, 0x5480A32E,
+ 0x8585DDB4, 0x58C0770C, 0x3AE2FE35, 0xE7A7548D,
+ 0xFEA7EC47, 0x23E246FF, 0x41C0CFC6, 0x9C85657E,
+ 0x73C1BE52, 0xAE8414EA, 0xCCA69DD3, 0x11E3376B,
+ 0x08E38FA1, 0xD5A62519, 0xB784AC20, 0x6AC10698,
+ 0x6CE16C89, 0xB1A4C631, 0xD3864F08, 0x0EC3E5B0,
+ 0x17C35D7A, 0xCA86F7C2, 0xA8A47EFB, 0x75E1D443,
+ 0x9AA50F6F, 0x47E0A5D7, 0x25C22CEE, 0xF8878656,
+ 0xE1873E9C, 0x3CC29424, 0x5EE01D1D, 0x83A5B7A5,
+ 0xF90696D8, 0x24433C60, 0x4661B559, 0x9B241FE1,
+ 0x8224A72B, 0x5F610D93, 0x3D4384AA, 0xE0062E12,
+ 0x0F42F53E, 0xD2075F86, 0xB025D6BF, 0x6D607C07,
+ 0x7460C4CD, 0xA9256E75, 0xCB07E74C, 0x16424DF4,
+ 0x106227E5, 0xCD278D5D, 0xAF050464, 0x7240AEDC,
+ 0x6B401616, 0xB605BCAE, 0xD4273597, 0x09629F2F,
+ 0xE6264403, 0x3B63EEBB, 0x59416782, 0x8404CD3A,
+ 0x9D0475F0, 0x4041DF48, 0x22635671, 0xFF26FCC9,
+ 0x2E238253, 0xF36628EB, 0x9144A1D2, 0x4C010B6A,
+ 0x5501B3A0, 0x88441918, 0xEA669021, 0x37233A99,
+ 0xD867E1B5, 0x05224B0D, 0x6700C234, 0xBA45688C,
+ 0xA345D046, 0x7E007AFE, 0x1C22F3C7, 0xC167597F,
+ 0xC747336E, 0x1A0299D6, 0x782010EF, 0xA565BA57,
+ 0xBC65029D, 0x6120A825, 0x0302211C, 0xDE478BA4,
+ 0x31035088, 0xEC46FA30, 0x8E647309, 0x5321D9B1,
+ 0x4A21617B, 0x9764CBC3, 0xF54642FA, 0x2803E842,
/* T8_4 */
- 0x00000000, 0x38116FAC, 0x7022DF58, 0x4833B0F4,
- 0xE045BEB0, 0xD854D11C, 0x906761E8, 0xA8760E44,
- 0xC5670B91, 0xFD76643D, 0xB545D4C9, 0x8D54BB65,
- 0x2522B521, 0x1D33DA8D, 0x55006A79, 0x6D1105D5,
- 0x8F2261D3, 0xB7330E7F, 0xFF00BE8B, 0xC711D127,
- 0x6F67DF63, 0x5776B0CF, 0x1F45003B, 0x27546F97,
- 0x4A456A42, 0x725405EE, 0x3A67B51A, 0x0276DAB6,
- 0xAA00D4F2, 0x9211BB5E, 0xDA220BAA, 0xE2336406,
- 0x1BA8B557, 0x23B9DAFB, 0x6B8A6A0F, 0x539B05A3,
- 0xFBED0BE7, 0xC3FC644B, 0x8BCFD4BF, 0xB3DEBB13,
- 0xDECFBEC6, 0xE6DED16A, 0xAEED619E, 0x96FC0E32,
- 0x3E8A0076, 0x069B6FDA, 0x4EA8DF2E, 0x76B9B082,
- 0x948AD484, 0xAC9BBB28, 0xE4A80BDC, 0xDCB96470,
- 0x74CF6A34, 0x4CDE0598, 0x04EDB56C, 0x3CFCDAC0,
- 0x51EDDF15, 0x69FCB0B9, 0x21CF004D, 0x19DE6FE1,
- 0xB1A861A5, 0x89B90E09, 0xC18ABEFD, 0xF99BD151,
- 0x37516AAE, 0x0F400502, 0x4773B5F6, 0x7F62DA5A,
- 0xD714D41E, 0xEF05BBB2, 0xA7360B46, 0x9F2764EA,
- 0xF236613F, 0xCA270E93, 0x8214BE67, 0xBA05D1CB,
- 0x1273DF8F, 0x2A62B023, 0x625100D7, 0x5A406F7B,
- 0xB8730B7D, 0x806264D1, 0xC851D425, 0xF040BB89,
- 0x5836B5CD, 0x6027DA61, 0x28146A95, 0x10050539,
- 0x7D1400EC, 0x45056F40, 0x0D36DFB4, 0x3527B018,
- 0x9D51BE5C, 0xA540D1F0, 0xED736104, 0xD5620EA8,
- 0x2CF9DFF9, 0x14E8B055, 0x5CDB00A1, 0x64CA6F0D,
- 0xCCBC6149, 0xF4AD0EE5, 0xBC9EBE11, 0x848FD1BD,
- 0xE99ED468, 0xD18FBBC4, 0x99BC0B30, 0xA1AD649C,
- 0x09DB6AD8, 0x31CA0574, 0x79F9B580, 0x41E8DA2C,
- 0xA3DBBE2A, 0x9BCAD186, 0xD3F96172, 0xEBE80EDE,
- 0x439E009A, 0x7B8F6F36, 0x33BCDFC2, 0x0BADB06E,
- 0x66BCB5BB, 0x5EADDA17, 0x169E6AE3, 0x2E8F054F,
- 0x86F90B0B, 0xBEE864A7, 0xF6DBD453, 0xCECABBFF,
- 0x6EA2D55C, 0x56B3BAF0, 0x1E800A04, 0x269165A8,
- 0x8EE76BEC, 0xB6F60440, 0xFEC5B4B4, 0xC6D4DB18,
- 0xABC5DECD, 0x93D4B161, 0xDBE70195, 0xE3F66E39,
- 0x4B80607D, 0x73910FD1, 0x3BA2BF25, 0x03B3D089,
- 0xE180B48F, 0xD991DB23, 0x91A26BD7, 0xA9B3047B,
- 0x01C50A3F, 0x39D46593, 0x71E7D567, 0x49F6BACB,
- 0x24E7BF1E, 0x1CF6D0B2, 0x54C56046, 0x6CD40FEA,
- 0xC4A201AE, 0xFCB36E02, 0xB480DEF6, 0x8C91B15A,
- 0x750A600B, 0x4D1B0FA7, 0x0528BF53, 0x3D39D0FF,
- 0x954FDEBB, 0xAD5EB117, 0xE56D01E3, 0xDD7C6E4F,
- 0xB06D6B9A, 0x887C0436, 0xC04FB4C2, 0xF85EDB6E,
- 0x5028D52A, 0x6839BA86, 0x200A0A72, 0x181B65DE,
- 0xFA2801D8, 0xC2396E74, 0x8A0ADE80, 0xB21BB12C,
- 0x1A6DBF68, 0x227CD0C4, 0x6A4F6030, 0x525E0F9C,
- 0x3F4F0A49, 0x075E65E5, 0x4F6DD511, 0x777CBABD,
- 0xDF0AB4F9, 0xE71BDB55, 0xAF286BA1, 0x9739040D,
- 0x59F3BFF2, 0x61E2D05E, 0x29D160AA, 0x11C00F06,
- 0xB9B60142, 0x81A76EEE, 0xC994DE1A, 0xF185B1B6,
- 0x9C94B463, 0xA485DBCF, 0xECB66B3B, 0xD4A70497,
- 0x7CD10AD3, 0x44C0657F, 0x0CF3D58B, 0x34E2BA27,
- 0xD6D1DE21, 0xEEC0B18D, 0xA6F30179, 0x9EE26ED5,
- 0x36946091, 0x0E850F3D, 0x46B6BFC9, 0x7EA7D065,
- 0x13B6D5B0, 0x2BA7BA1C, 0x63940AE8, 0x5B856544,
- 0xF3F36B00, 0xCBE204AC, 0x83D1B458, 0xBBC0DBF4,
- 0x425B0AA5, 0x7A4A6509, 0x3279D5FD, 0x0A68BA51,
- 0xA21EB415, 0x9A0FDBB9, 0xD23C6B4D, 0xEA2D04E1,
- 0x873C0134, 0xBF2D6E98, 0xF71EDE6C, 0xCF0FB1C0,
- 0x6779BF84, 0x5F68D028, 0x175B60DC, 0x2F4A0F70,
- 0xCD796B76, 0xF56804DA, 0xBD5BB42E, 0x854ADB82,
- 0x2D3CD5C6, 0x152DBA6A, 0x5D1E0A9E, 0x650F6532,
- 0x081E60E7, 0x300F0F4B, 0x783CBFBF, 0x402DD013,
- 0xE85BDE57, 0xD04AB1FB, 0x9879010F, 0xA0686EA3,
+ 0x00000000, 0x38116FAC, 0x7022DF58, 0x4833B0F4,
+ 0xE045BEB0, 0xD854D11C, 0x906761E8, 0xA8760E44,
+ 0xC5670B91, 0xFD76643D, 0xB545D4C9, 0x8D54BB65,
+ 0x2522B521, 0x1D33DA8D, 0x55006A79, 0x6D1105D5,
+ 0x8F2261D3, 0xB7330E7F, 0xFF00BE8B, 0xC711D127,
+ 0x6F67DF63, 0x5776B0CF, 0x1F45003B, 0x27546F97,
+ 0x4A456A42, 0x725405EE, 0x3A67B51A, 0x0276DAB6,
+ 0xAA00D4F2, 0x9211BB5E, 0xDA220BAA, 0xE2336406,
+ 0x1BA8B557, 0x23B9DAFB, 0x6B8A6A0F, 0x539B05A3,
+ 0xFBED0BE7, 0xC3FC644B, 0x8BCFD4BF, 0xB3DEBB13,
+ 0xDECFBEC6, 0xE6DED16A, 0xAEED619E, 0x96FC0E32,
+ 0x3E8A0076, 0x069B6FDA, 0x4EA8DF2E, 0x76B9B082,
+ 0x948AD484, 0xAC9BBB28, 0xE4A80BDC, 0xDCB96470,
+ 0x74CF6A34, 0x4CDE0598, 0x04EDB56C, 0x3CFCDAC0,
+ 0x51EDDF15, 0x69FCB0B9, 0x21CF004D, 0x19DE6FE1,
+ 0xB1A861A5, 0x89B90E09, 0xC18ABEFD, 0xF99BD151,
+ 0x37516AAE, 0x0F400502, 0x4773B5F6, 0x7F62DA5A,
+ 0xD714D41E, 0xEF05BBB2, 0xA7360B46, 0x9F2764EA,
+ 0xF236613F, 0xCA270E93, 0x8214BE67, 0xBA05D1CB,
+ 0x1273DF8F, 0x2A62B023, 0x625100D7, 0x5A406F7B,
+ 0xB8730B7D, 0x806264D1, 0xC851D425, 0xF040BB89,
+ 0x5836B5CD, 0x6027DA61, 0x28146A95, 0x10050539,
+ 0x7D1400EC, 0x45056F40, 0x0D36DFB4, 0x3527B018,
+ 0x9D51BE5C, 0xA540D1F0, 0xED736104, 0xD5620EA8,
+ 0x2CF9DFF9, 0x14E8B055, 0x5CDB00A1, 0x64CA6F0D,
+ 0xCCBC6149, 0xF4AD0EE5, 0xBC9EBE11, 0x848FD1BD,
+ 0xE99ED468, 0xD18FBBC4, 0x99BC0B30, 0xA1AD649C,
+ 0x09DB6AD8, 0x31CA0574, 0x79F9B580, 0x41E8DA2C,
+ 0xA3DBBE2A, 0x9BCAD186, 0xD3F96172, 0xEBE80EDE,
+ 0x439E009A, 0x7B8F6F36, 0x33BCDFC2, 0x0BADB06E,
+ 0x66BCB5BB, 0x5EADDA17, 0x169E6AE3, 0x2E8F054F,
+ 0x86F90B0B, 0xBEE864A7, 0xF6DBD453, 0xCECABBFF,
+ 0x6EA2D55C, 0x56B3BAF0, 0x1E800A04, 0x269165A8,
+ 0x8EE76BEC, 0xB6F60440, 0xFEC5B4B4, 0xC6D4DB18,
+ 0xABC5DECD, 0x93D4B161, 0xDBE70195, 0xE3F66E39,
+ 0x4B80607D, 0x73910FD1, 0x3BA2BF25, 0x03B3D089,
+ 0xE180B48F, 0xD991DB23, 0x91A26BD7, 0xA9B3047B,
+ 0x01C50A3F, 0x39D46593, 0x71E7D567, 0x49F6BACB,
+ 0x24E7BF1E, 0x1CF6D0B2, 0x54C56046, 0x6CD40FEA,
+ 0xC4A201AE, 0xFCB36E02, 0xB480DEF6, 0x8C91B15A,
+ 0x750A600B, 0x4D1B0FA7, 0x0528BF53, 0x3D39D0FF,
+ 0x954FDEBB, 0xAD5EB117, 0xE56D01E3, 0xDD7C6E4F,
+ 0xB06D6B9A, 0x887C0436, 0xC04FB4C2, 0xF85EDB6E,
+ 0x5028D52A, 0x6839BA86, 0x200A0A72, 0x181B65DE,
+ 0xFA2801D8, 0xC2396E74, 0x8A0ADE80, 0xB21BB12C,
+ 0x1A6DBF68, 0x227CD0C4, 0x6A4F6030, 0x525E0F9C,
+ 0x3F4F0A49, 0x075E65E5, 0x4F6DD511, 0x777CBABD,
+ 0xDF0AB4F9, 0xE71BDB55, 0xAF286BA1, 0x9739040D,
+ 0x59F3BFF2, 0x61E2D05E, 0x29D160AA, 0x11C00F06,
+ 0xB9B60142, 0x81A76EEE, 0xC994DE1A, 0xF185B1B6,
+ 0x9C94B463, 0xA485DBCF, 0xECB66B3B, 0xD4A70497,
+ 0x7CD10AD3, 0x44C0657F, 0x0CF3D58B, 0x34E2BA27,
+ 0xD6D1DE21, 0xEEC0B18D, 0xA6F30179, 0x9EE26ED5,
+ 0x36946091, 0x0E850F3D, 0x46B6BFC9, 0x7EA7D065,
+ 0x13B6D5B0, 0x2BA7BA1C, 0x63940AE8, 0x5B856544,
+ 0xF3F36B00, 0xCBE204AC, 0x83D1B458, 0xBBC0DBF4,
+ 0x425B0AA5, 0x7A4A6509, 0x3279D5FD, 0x0A68BA51,
+ 0xA21EB415, 0x9A0FDBB9, 0xD23C6B4D, 0xEA2D04E1,
+ 0x873C0134, 0xBF2D6E98, 0xF71EDE6C, 0xCF0FB1C0,
+ 0x6779BF84, 0x5F68D028, 0x175B60DC, 0x2F4A0F70,
+ 0xCD796B76, 0xF56804DA, 0xBD5BB42E, 0x854ADB82,
+ 0x2D3CD5C6, 0x152DBA6A, 0x5D1E0A9E, 0x650F6532,
+ 0x081E60E7, 0x300F0F4B, 0x783CBFBF, 0x402DD013,
+ 0xE85BDE57, 0xD04AB1FB, 0x9879010F, 0xA0686EA3,
/* T8_5 */
- 0x00000000, 0xEF306B19, 0xDB8CA0C3, 0x34BCCBDA,
- 0xB2F53777, 0x5DC55C6E, 0x697997B4, 0x8649FCAD,
- 0x6006181F, 0x8F367306, 0xBB8AB8DC, 0x54BAD3C5,
- 0xD2F32F68, 0x3DC34471, 0x097F8FAB, 0xE64FE4B2,
- 0xC00C303E, 0x2F3C5B27, 0x1B8090FD, 0xF4B0FBE4,
- 0x72F90749, 0x9DC96C50, 0xA975A78A, 0x4645CC93,
- 0xA00A2821, 0x4F3A4338, 0x7B8688E2, 0x94B6E3FB,
- 0x12FF1F56, 0xFDCF744F, 0xC973BF95, 0x2643D48C,
- 0x85F4168D, 0x6AC47D94, 0x5E78B64E, 0xB148DD57,
- 0x370121FA, 0xD8314AE3, 0xEC8D8139, 0x03BDEA20,
- 0xE5F20E92, 0x0AC2658B, 0x3E7EAE51, 0xD14EC548,
- 0x570739E5, 0xB83752FC, 0x8C8B9926, 0x63BBF23F,
- 0x45F826B3, 0xAAC84DAA, 0x9E748670, 0x7144ED69,
- 0xF70D11C4, 0x183D7ADD, 0x2C81B107, 0xC3B1DA1E,
- 0x25FE3EAC, 0xCACE55B5, 0xFE729E6F, 0x1142F576,
- 0x970B09DB, 0x783B62C2, 0x4C87A918, 0xA3B7C201,
- 0x0E045BEB, 0xE13430F2, 0xD588FB28, 0x3AB89031,
- 0xBCF16C9C, 0x53C10785, 0x677DCC5F, 0x884DA746,
- 0x6E0243F4, 0x813228ED, 0xB58EE337, 0x5ABE882E,
- 0xDCF77483, 0x33C71F9A, 0x077BD440, 0xE84BBF59,
- 0xCE086BD5, 0x213800CC, 0x1584CB16, 0xFAB4A00F,
- 0x7CFD5CA2, 0x93CD37BB, 0xA771FC61, 0x48419778,
- 0xAE0E73CA, 0x413E18D3, 0x7582D309, 0x9AB2B810,
- 0x1CFB44BD, 0xF3CB2FA4, 0xC777E47E, 0x28478F67,
- 0x8BF04D66, 0x64C0267F, 0x507CEDA5, 0xBF4C86BC,
- 0x39057A11, 0xD6351108, 0xE289DAD2, 0x0DB9B1CB,
- 0xEBF65579, 0x04C63E60, 0x307AF5BA, 0xDF4A9EA3,
- 0x5903620E, 0xB6330917, 0x828FC2CD, 0x6DBFA9D4,
- 0x4BFC7D58, 0xA4CC1641, 0x9070DD9B, 0x7F40B682,
- 0xF9094A2F, 0x16392136, 0x2285EAEC, 0xCDB581F5,
- 0x2BFA6547, 0xC4CA0E5E, 0xF076C584, 0x1F46AE9D,
- 0x990F5230, 0x763F3929, 0x4283F2F3, 0xADB399EA,
- 0x1C08B7D6, 0xF338DCCF, 0xC7841715, 0x28B47C0C,
- 0xAEFD80A1, 0x41CDEBB8, 0x75712062, 0x9A414B7B,
- 0x7C0EAFC9, 0x933EC4D0, 0xA7820F0A, 0x48B26413,
- 0xCEFB98BE, 0x21CBF3A7, 0x1577387D, 0xFA475364,
- 0xDC0487E8, 0x3334ECF1, 0x0788272B, 0xE8B84C32,
- 0x6EF1B09F, 0x81C1DB86, 0xB57D105C, 0x5A4D7B45,
- 0xBC029FF7, 0x5332F4EE, 0x678E3F34, 0x88BE542D,
- 0x0EF7A880, 0xE1C7C399, 0xD57B0843, 0x3A4B635A,
- 0x99FCA15B, 0x76CCCA42, 0x42700198, 0xAD406A81,
- 0x2B09962C, 0xC439FD35, 0xF08536EF, 0x1FB55DF6,
- 0xF9FAB944, 0x16CAD25D, 0x22761987, 0xCD46729E,
- 0x4B0F8E33, 0xA43FE52A, 0x90832EF0, 0x7FB345E9,
- 0x59F09165, 0xB6C0FA7C, 0x827C31A6, 0x6D4C5ABF,
- 0xEB05A612, 0x0435CD0B, 0x308906D1, 0xDFB96DC8,
- 0x39F6897A, 0xD6C6E263, 0xE27A29B9, 0x0D4A42A0,
- 0x8B03BE0D, 0x6433D514, 0x508F1ECE, 0xBFBF75D7,
- 0x120CEC3D, 0xFD3C8724, 0xC9804CFE, 0x26B027E7,
- 0xA0F9DB4A, 0x4FC9B053, 0x7B757B89, 0x94451090,
- 0x720AF422, 0x9D3A9F3B, 0xA98654E1, 0x46B63FF8,
- 0xC0FFC355, 0x2FCFA84C, 0x1B736396, 0xF443088F,
- 0xD200DC03, 0x3D30B71A, 0x098C7CC0, 0xE6BC17D9,
- 0x60F5EB74, 0x8FC5806D, 0xBB794BB7, 0x544920AE,
- 0xB206C41C, 0x5D36AF05, 0x698A64DF, 0x86BA0FC6,
- 0x00F3F36B, 0xEFC39872, 0xDB7F53A8, 0x344F38B1,
- 0x97F8FAB0, 0x78C891A9, 0x4C745A73, 0xA344316A,
- 0x250DCDC7, 0xCA3DA6DE, 0xFE816D04, 0x11B1061D,
- 0xF7FEE2AF, 0x18CE89B6, 0x2C72426C, 0xC3422975,
- 0x450BD5D8, 0xAA3BBEC1, 0x9E87751B, 0x71B71E02,
- 0x57F4CA8E, 0xB8C4A197, 0x8C786A4D, 0x63480154,
- 0xE501FDF9, 0x0A3196E0, 0x3E8D5D3A, 0xD1BD3623,
- 0x37F2D291, 0xD8C2B988, 0xEC7E7252, 0x034E194B,
- 0x8507E5E6, 0x6A378EFF, 0x5E8B4525, 0xB1BB2E3C,
+ 0x00000000, 0xEF306B19, 0xDB8CA0C3, 0x34BCCBDA,
+ 0xB2F53777, 0x5DC55C6E, 0x697997B4, 0x8649FCAD,
+ 0x6006181F, 0x8F367306, 0xBB8AB8DC, 0x54BAD3C5,
+ 0xD2F32F68, 0x3DC34471, 0x097F8FAB, 0xE64FE4B2,
+ 0xC00C303E, 0x2F3C5B27, 0x1B8090FD, 0xF4B0FBE4,
+ 0x72F90749, 0x9DC96C50, 0xA975A78A, 0x4645CC93,
+ 0xA00A2821, 0x4F3A4338, 0x7B8688E2, 0x94B6E3FB,
+ 0x12FF1F56, 0xFDCF744F, 0xC973BF95, 0x2643D48C,
+ 0x85F4168D, 0x6AC47D94, 0x5E78B64E, 0xB148DD57,
+ 0x370121FA, 0xD8314AE3, 0xEC8D8139, 0x03BDEA20,
+ 0xE5F20E92, 0x0AC2658B, 0x3E7EAE51, 0xD14EC548,
+ 0x570739E5, 0xB83752FC, 0x8C8B9926, 0x63BBF23F,
+ 0x45F826B3, 0xAAC84DAA, 0x9E748670, 0x7144ED69,
+ 0xF70D11C4, 0x183D7ADD, 0x2C81B107, 0xC3B1DA1E,
+ 0x25FE3EAC, 0xCACE55B5, 0xFE729E6F, 0x1142F576,
+ 0x970B09DB, 0x783B62C2, 0x4C87A918, 0xA3B7C201,
+ 0x0E045BEB, 0xE13430F2, 0xD588FB28, 0x3AB89031,
+ 0xBCF16C9C, 0x53C10785, 0x677DCC5F, 0x884DA746,
+ 0x6E0243F4, 0x813228ED, 0xB58EE337, 0x5ABE882E,
+ 0xDCF77483, 0x33C71F9A, 0x077BD440, 0xE84BBF59,
+ 0xCE086BD5, 0x213800CC, 0x1584CB16, 0xFAB4A00F,
+ 0x7CFD5CA2, 0x93CD37BB, 0xA771FC61, 0x48419778,
+ 0xAE0E73CA, 0x413E18D3, 0x7582D309, 0x9AB2B810,
+ 0x1CFB44BD, 0xF3CB2FA4, 0xC777E47E, 0x28478F67,
+ 0x8BF04D66, 0x64C0267F, 0x507CEDA5, 0xBF4C86BC,
+ 0x39057A11, 0xD6351108, 0xE289DAD2, 0x0DB9B1CB,
+ 0xEBF65579, 0x04C63E60, 0x307AF5BA, 0xDF4A9EA3,
+ 0x5903620E, 0xB6330917, 0x828FC2CD, 0x6DBFA9D4,
+ 0x4BFC7D58, 0xA4CC1641, 0x9070DD9B, 0x7F40B682,
+ 0xF9094A2F, 0x16392136, 0x2285EAEC, 0xCDB581F5,
+ 0x2BFA6547, 0xC4CA0E5E, 0xF076C584, 0x1F46AE9D,
+ 0x990F5230, 0x763F3929, 0x4283F2F3, 0xADB399EA,
+ 0x1C08B7D6, 0xF338DCCF, 0xC7841715, 0x28B47C0C,
+ 0xAEFD80A1, 0x41CDEBB8, 0x75712062, 0x9A414B7B,
+ 0x7C0EAFC9, 0x933EC4D0, 0xA7820F0A, 0x48B26413,
+ 0xCEFB98BE, 0x21CBF3A7, 0x1577387D, 0xFA475364,
+ 0xDC0487E8, 0x3334ECF1, 0x0788272B, 0xE8B84C32,
+ 0x6EF1B09F, 0x81C1DB86, 0xB57D105C, 0x5A4D7B45,
+ 0xBC029FF7, 0x5332F4EE, 0x678E3F34, 0x88BE542D,
+ 0x0EF7A880, 0xE1C7C399, 0xD57B0843, 0x3A4B635A,
+ 0x99FCA15B, 0x76CCCA42, 0x42700198, 0xAD406A81,
+ 0x2B09962C, 0xC439FD35, 0xF08536EF, 0x1FB55DF6,
+ 0xF9FAB944, 0x16CAD25D, 0x22761987, 0xCD46729E,
+ 0x4B0F8E33, 0xA43FE52A, 0x90832EF0, 0x7FB345E9,
+ 0x59F09165, 0xB6C0FA7C, 0x827C31A6, 0x6D4C5ABF,
+ 0xEB05A612, 0x0435CD0B, 0x308906D1, 0xDFB96DC8,
+ 0x39F6897A, 0xD6C6E263, 0xE27A29B9, 0x0D4A42A0,
+ 0x8B03BE0D, 0x6433D514, 0x508F1ECE, 0xBFBF75D7,
+ 0x120CEC3D, 0xFD3C8724, 0xC9804CFE, 0x26B027E7,
+ 0xA0F9DB4A, 0x4FC9B053, 0x7B757B89, 0x94451090,
+ 0x720AF422, 0x9D3A9F3B, 0xA98654E1, 0x46B63FF8,
+ 0xC0FFC355, 0x2FCFA84C, 0x1B736396, 0xF443088F,
+ 0xD200DC03, 0x3D30B71A, 0x098C7CC0, 0xE6BC17D9,
+ 0x60F5EB74, 0x8FC5806D, 0xBB794BB7, 0x544920AE,
+ 0xB206C41C, 0x5D36AF05, 0x698A64DF, 0x86BA0FC6,
+ 0x00F3F36B, 0xEFC39872, 0xDB7F53A8, 0x344F38B1,
+ 0x97F8FAB0, 0x78C891A9, 0x4C745A73, 0xA344316A,
+ 0x250DCDC7, 0xCA3DA6DE, 0xFE816D04, 0x11B1061D,
+ 0xF7FEE2AF, 0x18CE89B6, 0x2C72426C, 0xC3422975,
+ 0x450BD5D8, 0xAA3BBEC1, 0x9E87751B, 0x71B71E02,
+ 0x57F4CA8E, 0xB8C4A197, 0x8C786A4D, 0x63480154,
+ 0xE501FDF9, 0x0A3196E0, 0x3E8D5D3A, 0xD1BD3623,
+ 0x37F2D291, 0xD8C2B988, 0xEC7E7252, 0x034E194B,
+ 0x8507E5E6, 0x6A378EFF, 0x5E8B4525, 0xB1BB2E3C,
/* T8_6 */
- 0x00000000, 0x68032CC8, 0xD0065990, 0xB8057558,
- 0xA5E0C5D1, 0xCDE3E919, 0x75E69C41, 0x1DE5B089,
- 0x4E2DFD53, 0x262ED19B, 0x9E2BA4C3, 0xF628880B,
- 0xEBCD3882, 0x83CE144A, 0x3BCB6112, 0x53C84DDA,
- 0x9C5BFAA6, 0xF458D66E, 0x4C5DA336, 0x245E8FFE,
- 0x39BB3F77, 0x51B813BF, 0xE9BD66E7, 0x81BE4A2F,
- 0xD27607F5, 0xBA752B3D, 0x02705E65, 0x6A7372AD,
- 0x7796C224, 0x1F95EEEC, 0xA7909BB4, 0xCF93B77C,
- 0x3D5B83BD, 0x5558AF75, 0xED5DDA2D, 0x855EF6E5,
- 0x98BB466C, 0xF0B86AA4, 0x48BD1FFC, 0x20BE3334,
- 0x73767EEE, 0x1B755226, 0xA370277E, 0xCB730BB6,
- 0xD696BB3F, 0xBE9597F7, 0x0690E2AF, 0x6E93CE67,
- 0xA100791B, 0xC90355D3, 0x7106208B, 0x19050C43,
- 0x04E0BCCA, 0x6CE39002, 0xD4E6E55A, 0xBCE5C992,
- 0xEF2D8448, 0x872EA880, 0x3F2BDDD8, 0x5728F110,
- 0x4ACD4199, 0x22CE6D51, 0x9ACB1809, 0xF2C834C1,
- 0x7AB7077A, 0x12B42BB2, 0xAAB15EEA, 0xC2B27222,
- 0xDF57C2AB, 0xB754EE63, 0x0F519B3B, 0x6752B7F3,
- 0x349AFA29, 0x5C99D6E1, 0xE49CA3B9, 0x8C9F8F71,
- 0x917A3FF8, 0xF9791330, 0x417C6668, 0x297F4AA0,
- 0xE6ECFDDC, 0x8EEFD114, 0x36EAA44C, 0x5EE98884,
- 0x430C380D, 0x2B0F14C5, 0x930A619D, 0xFB094D55,
- 0xA8C1008F, 0xC0C22C47, 0x78C7591F, 0x10C475D7,
- 0x0D21C55E, 0x6522E996, 0xDD279CCE, 0xB524B006,
- 0x47EC84C7, 0x2FEFA80F, 0x97EADD57, 0xFFE9F19F,
- 0xE20C4116, 0x8A0F6DDE, 0x320A1886, 0x5A09344E,
- 0x09C17994, 0x61C2555C, 0xD9C72004, 0xB1C40CCC,
- 0xAC21BC45, 0xC422908D, 0x7C27E5D5, 0x1424C91D,
- 0xDBB77E61, 0xB3B452A9, 0x0BB127F1, 0x63B20B39,
- 0x7E57BBB0, 0x16549778, 0xAE51E220, 0xC652CEE8,
- 0x959A8332, 0xFD99AFFA, 0x459CDAA2, 0x2D9FF66A,
- 0x307A46E3, 0x58796A2B, 0xE07C1F73, 0x887F33BB,
- 0xF56E0EF4, 0x9D6D223C, 0x25685764, 0x4D6B7BAC,
- 0x508ECB25, 0x388DE7ED, 0x808892B5, 0xE88BBE7D,
- 0xBB43F3A7, 0xD340DF6F, 0x6B45AA37, 0x034686FF,
- 0x1EA33676, 0x76A01ABE, 0xCEA56FE6, 0xA6A6432E,
- 0x6935F452, 0x0136D89A, 0xB933ADC2, 0xD130810A,
- 0xCCD53183, 0xA4D61D4B, 0x1CD36813, 0x74D044DB,
- 0x27180901, 0x4F1B25C9, 0xF71E5091, 0x9F1D7C59,
- 0x82F8CCD0, 0xEAFBE018, 0x52FE9540, 0x3AFDB988,
- 0xC8358D49, 0xA036A181, 0x1833D4D9, 0x7030F811,
- 0x6DD54898, 0x05D66450, 0xBDD31108, 0xD5D03DC0,
- 0x8618701A, 0xEE1B5CD2, 0x561E298A, 0x3E1D0542,
- 0x23F8B5CB, 0x4BFB9903, 0xF3FEEC5B, 0x9BFDC093,
- 0x546E77EF, 0x3C6D5B27, 0x84682E7F, 0xEC6B02B7,
- 0xF18EB23E, 0x998D9EF6, 0x2188EBAE, 0x498BC766,
- 0x1A438ABC, 0x7240A674, 0xCA45D32C, 0xA246FFE4,
- 0xBFA34F6D, 0xD7A063A5, 0x6FA516FD, 0x07A63A35,
- 0x8FD9098E, 0xE7DA2546, 0x5FDF501E, 0x37DC7CD6,
- 0x2A39CC5F, 0x423AE097, 0xFA3F95CF, 0x923CB907,
- 0xC1F4F4DD, 0xA9F7D815, 0x11F2AD4D, 0x79F18185,
- 0x6414310C, 0x0C171DC4, 0xB412689C, 0xDC114454,
- 0x1382F328, 0x7B81DFE0, 0xC384AAB8, 0xAB878670,
- 0xB66236F9, 0xDE611A31, 0x66646F69, 0x0E6743A1,
- 0x5DAF0E7B, 0x35AC22B3, 0x8DA957EB, 0xE5AA7B23,
- 0xF84FCBAA, 0x904CE762, 0x2849923A, 0x404ABEF2,
- 0xB2828A33, 0xDA81A6FB, 0x6284D3A3, 0x0A87FF6B,
- 0x17624FE2, 0x7F61632A, 0xC7641672, 0xAF673ABA,
- 0xFCAF7760, 0x94AC5BA8, 0x2CA92EF0, 0x44AA0238,
- 0x594FB2B1, 0x314C9E79, 0x8949EB21, 0xE14AC7E9,
- 0x2ED97095, 0x46DA5C5D, 0xFEDF2905, 0x96DC05CD,
- 0x8B39B544, 0xE33A998C, 0x5B3FECD4, 0x333CC01C,
- 0x60F48DC6, 0x08F7A10E, 0xB0F2D456, 0xD8F1F89E,
- 0xC5144817, 0xAD1764DF, 0x15121187, 0x7D113D4F,
+ 0x00000000, 0x68032CC8, 0xD0065990, 0xB8057558,
+ 0xA5E0C5D1, 0xCDE3E919, 0x75E69C41, 0x1DE5B089,
+ 0x4E2DFD53, 0x262ED19B, 0x9E2BA4C3, 0xF628880B,
+ 0xEBCD3882, 0x83CE144A, 0x3BCB6112, 0x53C84DDA,
+ 0x9C5BFAA6, 0xF458D66E, 0x4C5DA336, 0x245E8FFE,
+ 0x39BB3F77, 0x51B813BF, 0xE9BD66E7, 0x81BE4A2F,
+ 0xD27607F5, 0xBA752B3D, 0x02705E65, 0x6A7372AD,
+ 0x7796C224, 0x1F95EEEC, 0xA7909BB4, 0xCF93B77C,
+ 0x3D5B83BD, 0x5558AF75, 0xED5DDA2D, 0x855EF6E5,
+ 0x98BB466C, 0xF0B86AA4, 0x48BD1FFC, 0x20BE3334,
+ 0x73767EEE, 0x1B755226, 0xA370277E, 0xCB730BB6,
+ 0xD696BB3F, 0xBE9597F7, 0x0690E2AF, 0x6E93CE67,
+ 0xA100791B, 0xC90355D3, 0x7106208B, 0x19050C43,
+ 0x04E0BCCA, 0x6CE39002, 0xD4E6E55A, 0xBCE5C992,
+ 0xEF2D8448, 0x872EA880, 0x3F2BDDD8, 0x5728F110,
+ 0x4ACD4199, 0x22CE6D51, 0x9ACB1809, 0xF2C834C1,
+ 0x7AB7077A, 0x12B42BB2, 0xAAB15EEA, 0xC2B27222,
+ 0xDF57C2AB, 0xB754EE63, 0x0F519B3B, 0x6752B7F3,
+ 0x349AFA29, 0x5C99D6E1, 0xE49CA3B9, 0x8C9F8F71,
+ 0x917A3FF8, 0xF9791330, 0x417C6668, 0x297F4AA0,
+ 0xE6ECFDDC, 0x8EEFD114, 0x36EAA44C, 0x5EE98884,
+ 0x430C380D, 0x2B0F14C5, 0x930A619D, 0xFB094D55,
+ 0xA8C1008F, 0xC0C22C47, 0x78C7591F, 0x10C475D7,
+ 0x0D21C55E, 0x6522E996, 0xDD279CCE, 0xB524B006,
+ 0x47EC84C7, 0x2FEFA80F, 0x97EADD57, 0xFFE9F19F,
+ 0xE20C4116, 0x8A0F6DDE, 0x320A1886, 0x5A09344E,
+ 0x09C17994, 0x61C2555C, 0xD9C72004, 0xB1C40CCC,
+ 0xAC21BC45, 0xC422908D, 0x7C27E5D5, 0x1424C91D,
+ 0xDBB77E61, 0xB3B452A9, 0x0BB127F1, 0x63B20B39,
+ 0x7E57BBB0, 0x16549778, 0xAE51E220, 0xC652CEE8,
+ 0x959A8332, 0xFD99AFFA, 0x459CDAA2, 0x2D9FF66A,
+ 0x307A46E3, 0x58796A2B, 0xE07C1F73, 0x887F33BB,
+ 0xF56E0EF4, 0x9D6D223C, 0x25685764, 0x4D6B7BAC,
+ 0x508ECB25, 0x388DE7ED, 0x808892B5, 0xE88BBE7D,
+ 0xBB43F3A7, 0xD340DF6F, 0x6B45AA37, 0x034686FF,
+ 0x1EA33676, 0x76A01ABE, 0xCEA56FE6, 0xA6A6432E,
+ 0x6935F452, 0x0136D89A, 0xB933ADC2, 0xD130810A,
+ 0xCCD53183, 0xA4D61D4B, 0x1CD36813, 0x74D044DB,
+ 0x27180901, 0x4F1B25C9, 0xF71E5091, 0x9F1D7C59,
+ 0x82F8CCD0, 0xEAFBE018, 0x52FE9540, 0x3AFDB988,
+ 0xC8358D49, 0xA036A181, 0x1833D4D9, 0x7030F811,
+ 0x6DD54898, 0x05D66450, 0xBDD31108, 0xD5D03DC0,
+ 0x8618701A, 0xEE1B5CD2, 0x561E298A, 0x3E1D0542,
+ 0x23F8B5CB, 0x4BFB9903, 0xF3FEEC5B, 0x9BFDC093,
+ 0x546E77EF, 0x3C6D5B27, 0x84682E7F, 0xEC6B02B7,
+ 0xF18EB23E, 0x998D9EF6, 0x2188EBAE, 0x498BC766,
+ 0x1A438ABC, 0x7240A674, 0xCA45D32C, 0xA246FFE4,
+ 0xBFA34F6D, 0xD7A063A5, 0x6FA516FD, 0x07A63A35,
+ 0x8FD9098E, 0xE7DA2546, 0x5FDF501E, 0x37DC7CD6,
+ 0x2A39CC5F, 0x423AE097, 0xFA3F95CF, 0x923CB907,
+ 0xC1F4F4DD, 0xA9F7D815, 0x11F2AD4D, 0x79F18185,
+ 0x6414310C, 0x0C171DC4, 0xB412689C, 0xDC114454,
+ 0x1382F328, 0x7B81DFE0, 0xC384AAB8, 0xAB878670,
+ 0xB66236F9, 0xDE611A31, 0x66646F69, 0x0E6743A1,
+ 0x5DAF0E7B, 0x35AC22B3, 0x8DA957EB, 0xE5AA7B23,
+ 0xF84FCBAA, 0x904CE762, 0x2849923A, 0x404ABEF2,
+ 0xB2828A33, 0xDA81A6FB, 0x6284D3A3, 0x0A87FF6B,
+ 0x17624FE2, 0x7F61632A, 0xC7641672, 0xAF673ABA,
+ 0xFCAF7760, 0x94AC5BA8, 0x2CA92EF0, 0x44AA0238,
+ 0x594FB2B1, 0x314C9E79, 0x8949EB21, 0xE14AC7E9,
+ 0x2ED97095, 0x46DA5C5D, 0xFEDF2905, 0x96DC05CD,
+ 0x8B39B544, 0xE33A998C, 0x5B3FECD4, 0x333CC01C,
+ 0x60F48DC6, 0x08F7A10E, 0xB0F2D456, 0xD8F1F89E,
+ 0xC5144817, 0xAD1764DF, 0x15121187, 0x7D113D4F,
/* T8_7 */
- 0x00000000, 0x493C7D27, 0x9278FA4E, 0xDB448769,
- 0x211D826D, 0x6821FF4A, 0xB3657823, 0xFA590504,
- 0x423B04DA, 0x0B0779FD, 0xD043FE94, 0x997F83B3,
- 0x632686B7, 0x2A1AFB90, 0xF15E7CF9, 0xB86201DE,
- 0x847609B4, 0xCD4A7493, 0x160EF3FA, 0x5F328EDD,
- 0xA56B8BD9, 0xEC57F6FE, 0x37137197, 0x7E2F0CB0,
- 0xC64D0D6E, 0x8F717049, 0x5435F720, 0x1D098A07,
- 0xE7508F03, 0xAE6CF224, 0x7528754D, 0x3C14086A,
- 0x0D006599, 0x443C18BE, 0x9F789FD7, 0xD644E2F0,
- 0x2C1DE7F4, 0x65219AD3, 0xBE651DBA, 0xF759609D,
- 0x4F3B6143, 0x06071C64, 0xDD439B0D, 0x947FE62A,
- 0x6E26E32E, 0x271A9E09, 0xFC5E1960, 0xB5626447,
- 0x89766C2D, 0xC04A110A, 0x1B0E9663, 0x5232EB44,
- 0xA86BEE40, 0xE1579367, 0x3A13140E, 0x732F6929,
- 0xCB4D68F7, 0x827115D0, 0x593592B9, 0x1009EF9E,
- 0xEA50EA9A, 0xA36C97BD, 0x782810D4, 0x31146DF3,
- 0x1A00CB32, 0x533CB615, 0x8878317C, 0xC1444C5B,
- 0x3B1D495F, 0x72213478, 0xA965B311, 0xE059CE36,
- 0x583BCFE8, 0x1107B2CF, 0xCA4335A6, 0x837F4881,
- 0x79264D85, 0x301A30A2, 0xEB5EB7CB, 0xA262CAEC,
- 0x9E76C286, 0xD74ABFA1, 0x0C0E38C8, 0x453245EF,
- 0xBF6B40EB, 0xF6573DCC, 0x2D13BAA5, 0x642FC782,
- 0xDC4DC65C, 0x9571BB7B, 0x4E353C12, 0x07094135,
- 0xFD504431, 0xB46C3916, 0x6F28BE7F, 0x2614C358,
- 0x1700AEAB, 0x5E3CD38C, 0x857854E5, 0xCC4429C2,
- 0x361D2CC6, 0x7F2151E1, 0xA465D688, 0xED59ABAF,
- 0x553BAA71, 0x1C07D756, 0xC743503F, 0x8E7F2D18,
- 0x7426281C, 0x3D1A553B, 0xE65ED252, 0xAF62AF75,
- 0x9376A71F, 0xDA4ADA38, 0x010E5D51, 0x48322076,
- 0xB26B2572, 0xFB575855, 0x2013DF3C, 0x692FA21B,
- 0xD14DA3C5, 0x9871DEE2, 0x4335598B, 0x0A0924AC,
- 0xF05021A8, 0xB96C5C8F, 0x6228DBE6, 0x2B14A6C1,
- 0x34019664, 0x7D3DEB43, 0xA6796C2A, 0xEF45110D,
- 0x151C1409, 0x5C20692E, 0x8764EE47, 0xCE589360,
- 0x763A92BE, 0x3F06EF99, 0xE44268F0, 0xAD7E15D7,
- 0x572710D3, 0x1E1B6DF4, 0xC55FEA9D, 0x8C6397BA,
- 0xB0779FD0, 0xF94BE2F7, 0x220F659E, 0x6B3318B9,
- 0x916A1DBD, 0xD856609A, 0x0312E7F3, 0x4A2E9AD4,
- 0xF24C9B0A, 0xBB70E62D, 0x60346144, 0x29081C63,
- 0xD3511967, 0x9A6D6440, 0x4129E329, 0x08159E0E,
- 0x3901F3FD, 0x703D8EDA, 0xAB7909B3, 0xE2457494,
- 0x181C7190, 0x51200CB7, 0x8A648BDE, 0xC358F6F9,
- 0x7B3AF727, 0x32068A00, 0xE9420D69, 0xA07E704E,
- 0x5A27754A, 0x131B086D, 0xC85F8F04, 0x8163F223,
- 0xBD77FA49, 0xF44B876E, 0x2F0F0007, 0x66337D20,
- 0x9C6A7824, 0xD5560503, 0x0E12826A, 0x472EFF4D,
- 0xFF4CFE93, 0xB67083B4, 0x6D3404DD, 0x240879FA,
- 0xDE517CFE, 0x976D01D9, 0x4C2986B0, 0x0515FB97,
- 0x2E015D56, 0x673D2071, 0xBC79A718, 0xF545DA3F,
- 0x0F1CDF3B, 0x4620A21C, 0x9D642575, 0xD4585852,
- 0x6C3A598C, 0x250624AB, 0xFE42A3C2, 0xB77EDEE5,
- 0x4D27DBE1, 0x041BA6C6, 0xDF5F21AF, 0x96635C88,
- 0xAA7754E2, 0xE34B29C5, 0x380FAEAC, 0x7133D38B,
- 0x8B6AD68F, 0xC256ABA8, 0x19122CC1, 0x502E51E6,
- 0xE84C5038, 0xA1702D1F, 0x7A34AA76, 0x3308D751,
- 0xC951D255, 0x806DAF72, 0x5B29281B, 0x1215553C,
- 0x230138CF, 0x6A3D45E8, 0xB179C281, 0xF845BFA6,
- 0x021CBAA2, 0x4B20C785, 0x906440EC, 0xD9583DCB,
- 0x613A3C15, 0x28064132, 0xF342C65B, 0xBA7EBB7C,
- 0x4027BE78, 0x091BC35F, 0xD25F4436, 0x9B633911,
- 0xA777317B, 0xEE4B4C5C, 0x350FCB35, 0x7C33B612,
- 0x866AB316, 0xCF56CE31, 0x14124958, 0x5D2E347F,
- 0xE54C35A1, 0xAC704886, 0x7734CFEF, 0x3E08B2C8,
- 0xC451B7CC, 0x8D6DCAEB, 0x56294D82, 0x1F1530A5
+ 0x00000000, 0x493C7D27, 0x9278FA4E, 0xDB448769,
+ 0x211D826D, 0x6821FF4A, 0xB3657823, 0xFA590504,
+ 0x423B04DA, 0x0B0779FD, 0xD043FE94, 0x997F83B3,
+ 0x632686B7, 0x2A1AFB90, 0xF15E7CF9, 0xB86201DE,
+ 0x847609B4, 0xCD4A7493, 0x160EF3FA, 0x5F328EDD,
+ 0xA56B8BD9, 0xEC57F6FE, 0x37137197, 0x7E2F0CB0,
+ 0xC64D0D6E, 0x8F717049, 0x5435F720, 0x1D098A07,
+ 0xE7508F03, 0xAE6CF224, 0x7528754D, 0x3C14086A,
+ 0x0D006599, 0x443C18BE, 0x9F789FD7, 0xD644E2F0,
+ 0x2C1DE7F4, 0x65219AD3, 0xBE651DBA, 0xF759609D,
+ 0x4F3B6143, 0x06071C64, 0xDD439B0D, 0x947FE62A,
+ 0x6E26E32E, 0x271A9E09, 0xFC5E1960, 0xB5626447,
+ 0x89766C2D, 0xC04A110A, 0x1B0E9663, 0x5232EB44,
+ 0xA86BEE40, 0xE1579367, 0x3A13140E, 0x732F6929,
+ 0xCB4D68F7, 0x827115D0, 0x593592B9, 0x1009EF9E,
+ 0xEA50EA9A, 0xA36C97BD, 0x782810D4, 0x31146DF3,
+ 0x1A00CB32, 0x533CB615, 0x8878317C, 0xC1444C5B,
+ 0x3B1D495F, 0x72213478, 0xA965B311, 0xE059CE36,
+ 0x583BCFE8, 0x1107B2CF, 0xCA4335A6, 0x837F4881,
+ 0x79264D85, 0x301A30A2, 0xEB5EB7CB, 0xA262CAEC,
+ 0x9E76C286, 0xD74ABFA1, 0x0C0E38C8, 0x453245EF,
+ 0xBF6B40EB, 0xF6573DCC, 0x2D13BAA5, 0x642FC782,
+ 0xDC4DC65C, 0x9571BB7B, 0x4E353C12, 0x07094135,
+ 0xFD504431, 0xB46C3916, 0x6F28BE7F, 0x2614C358,
+ 0x1700AEAB, 0x5E3CD38C, 0x857854E5, 0xCC4429C2,
+ 0x361D2CC6, 0x7F2151E1, 0xA465D688, 0xED59ABAF,
+ 0x553BAA71, 0x1C07D756, 0xC743503F, 0x8E7F2D18,
+ 0x7426281C, 0x3D1A553B, 0xE65ED252, 0xAF62AF75,
+ 0x9376A71F, 0xDA4ADA38, 0x010E5D51, 0x48322076,
+ 0xB26B2572, 0xFB575855, 0x2013DF3C, 0x692FA21B,
+ 0xD14DA3C5, 0x9871DEE2, 0x4335598B, 0x0A0924AC,
+ 0xF05021A8, 0xB96C5C8F, 0x6228DBE6, 0x2B14A6C1,
+ 0x34019664, 0x7D3DEB43, 0xA6796C2A, 0xEF45110D,
+ 0x151C1409, 0x5C20692E, 0x8764EE47, 0xCE589360,
+ 0x763A92BE, 0x3F06EF99, 0xE44268F0, 0xAD7E15D7,
+ 0x572710D3, 0x1E1B6DF4, 0xC55FEA9D, 0x8C6397BA,
+ 0xB0779FD0, 0xF94BE2F7, 0x220F659E, 0x6B3318B9,
+ 0x916A1DBD, 0xD856609A, 0x0312E7F3, 0x4A2E9AD4,
+ 0xF24C9B0A, 0xBB70E62D, 0x60346144, 0x29081C63,
+ 0xD3511967, 0x9A6D6440, 0x4129E329, 0x08159E0E,
+ 0x3901F3FD, 0x703D8EDA, 0xAB7909B3, 0xE2457494,
+ 0x181C7190, 0x51200CB7, 0x8A648BDE, 0xC358F6F9,
+ 0x7B3AF727, 0x32068A00, 0xE9420D69, 0xA07E704E,
+ 0x5A27754A, 0x131B086D, 0xC85F8F04, 0x8163F223,
+ 0xBD77FA49, 0xF44B876E, 0x2F0F0007, 0x66337D20,
+ 0x9C6A7824, 0xD5560503, 0x0E12826A, 0x472EFF4D,
+ 0xFF4CFE93, 0xB67083B4, 0x6D3404DD, 0x240879FA,
+ 0xDE517CFE, 0x976D01D9, 0x4C2986B0, 0x0515FB97,
+ 0x2E015D56, 0x673D2071, 0xBC79A718, 0xF545DA3F,
+ 0x0F1CDF3B, 0x4620A21C, 0x9D642575, 0xD4585852,
+ 0x6C3A598C, 0x250624AB, 0xFE42A3C2, 0xB77EDEE5,
+ 0x4D27DBE1, 0x041BA6C6, 0xDF5F21AF, 0x96635C88,
+ 0xAA7754E2, 0xE34B29C5, 0x380FAEAC, 0x7133D38B,
+ 0x8B6AD68F, 0xC256ABA8, 0x19122CC1, 0x502E51E6,
+ 0xE84C5038, 0xA1702D1F, 0x7A34AA76, 0x3308D751,
+ 0xC951D255, 0x806DAF72, 0x5B29281B, 0x1215553C,
+ 0x230138CF, 0x6A3D45E8, 0xB179C281, 0xF845BFA6,
+ 0x021CBAA2, 0x4B20C785, 0x906440EC, 0xD9583DCB,
+ 0x613A3C15, 0x28064132, 0xF342C65B, 0xBA7EBB7C,
+ 0x4027BE78, 0x091BC35F, 0xD25F4436, 0x9B633911,
+ 0xA777317B, 0xEE4B4C5C, 0x350FCB35, 0x7C33B612,
+ 0x866AB316, 0xCF56CE31, 0x14124958, 0x5D2E347F,
+ 0xE54C35A1, 0xAC704886, 0x7734CFEF, 0x3E08B2C8,
+ 0xC451B7CC, 0x8D6DCAEB, 0x56294D82, 0x1F1530A5
};
}
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java
index 043c2ad..4650cb8 100644
--- a/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java
@@ -59,10 +59,10 @@ public class SnappyCompressorInputStream extends AbstractLZ77CompressorInputStre
/**
* Constructor using the default buffer size of 32k.
- *
+ *
* @param is
* An InputStream to read compressed data from
- *
+ *
* @throws IOException if reading fails
*/
public SnappyCompressorInputStream(final InputStream is) throws IOException {
@@ -71,12 +71,12 @@ public class SnappyCompressorInputStream extends AbstractLZ77CompressorInputStre
/**
* Constructor using a configurable buffer size.
- *
+ *
* @param is
* An InputStream to read compressed data from
* @param blockSize
* The block size used in compression
- *
+ *
* @throws IOException if reading fails
*/
public SnappyCompressorInputStream(final InputStream is, final int blockSize)
@@ -249,9 +249,9 @@ public class SnappyCompressorInputStream extends AbstractLZ77CompressorInputStre
* are more bytes to be read. In other words, an uncompressed length of 64
* would be stored as 0x40, and an uncompressed length of 2097150 (0x1FFFFE)
* would be stored as 0xFE 0xFF 0x7F.
- *
+ *
* @return The size of the uncompressed data
- *
+ *
* @throws IOException
* Could not read a byte
*/
@@ -272,7 +272,7 @@ public class SnappyCompressorInputStream extends AbstractLZ77CompressorInputStre
/**
* Get the uncompressed size of the stream
- *
+ *
* @return the uncompressed size
*/
@Override
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/compressors/z/ZCompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/z/ZCompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/z/ZCompressorInputStream.java
index 994e102..b7ce16f 100644
--- a/src/main/java/org/apache/commons/compress/compressors/z/ZCompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/z/ZCompressorInputStream.java
@@ -59,7 +59,7 @@ public class ZCompressorInputStream extends LZWInputStream {
public ZCompressorInputStream(final InputStream inputStream) throws IOException {
this(inputStream, -1);
}
-
+
private void clearEntries() {
setTableSize((1 << 8) + (blockMode ? 1 : 0));
}
@@ -78,7 +78,7 @@ public class ZCompressorInputStream extends LZWInputStream {
}
return code;
}
-
+
private void reAlignReading() throws IOException {
// "compress" works in multiples of 8 symbols, each codeBits bits long.
// When codeBits changes, the remaining unused symbols in the current
@@ -93,7 +93,7 @@ public class ZCompressorInputStream extends LZWInputStream {
}
in.clearBitCache();
}
-
+
/**
* {@inheritDoc}
* <p><strong>This method is only protected for technical reasons
@@ -151,17 +151,17 @@ public class ZCompressorInputStream extends LZWInputStream {
return expandCodeToOutputStack(code, addedUnfinishedEntry);
}
}
-
+
/**
* Checks if the signature matches what is expected for a Unix compress file.
- *
+ *
* @param signature
* the bytes to check
* @param length
* the number of bytes to check
* @return true, if this stream is a Unix compress compressed
* stream, false otherwise
- *
+ *
* @since 1.9
*/
public static boolean matches(final byte[] signature, final int length) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java b/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
index 7865dee..3fe3fba 100644
--- a/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
+++ b/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress.utils;
@@ -42,7 +42,7 @@ public class ArchiveUtils {
* - 2000 main.c
* d 100 testfiles
* </pre>
- *
+ *
* @param entry the entry
* @return the representation of the entry
*/
@@ -62,7 +62,7 @@ public class ArchiveUtils {
/**
* Check if buffer contents matches Ascii String.
- *
+ *
* @param expected expected string
* @param buffer the buffer
* @param offset offset to read from
@@ -83,7 +83,7 @@ public class ArchiveUtils {
/**
* Check if buffer contents matches Ascii String.
- *
+ *
* @param expected the expected strin
* @param buffer the buffer
* @return {@code true} if buffer is the same as the expected string
@@ -95,7 +95,7 @@ public class ArchiveUtils {
/**
* Convert a string to Ascii bytes.
* Used for comparing "magic" strings which need to be independent of the default Locale.
- *
+ *
* @param inputString string to convert
* @return the bytes
*/
@@ -110,7 +110,7 @@ public class ArchiveUtils {
/**
* Convert an input byte array to a String using the ASCII character set.
- *
+ *
* @param inputBytes bytes to convert
* @return the bytes, interpreted as an Ascii string
*/
@@ -125,7 +125,7 @@ public class ArchiveUtils {
/**
* Convert an input byte array to a String using the ASCII character set.
- *
+ *
* @param inputBytes input byte array
* @param offset offset within array
* @param length length of array
@@ -142,7 +142,7 @@ public class ArchiveUtils {
/**
* Compare byte buffers, optionally ignoring trailing nulls
- *
+ *
* @param buffer1 first buffer
* @param offset1 first offset
* @param length1 first length
@@ -186,7 +186,7 @@ public class ArchiveUtils {
/**
* Compare byte buffers
- *
+ *
* @param buffer1 the first buffer
* @param offset1 the first offset
* @param length1 the first length
@@ -203,7 +203,7 @@ public class ArchiveUtils {
/**
* Compare byte buffers
- *
+ *
* @param buffer1 the first buffer
* @param buffer2 the second buffer
* @return {@code true} if buffer1 and buffer2 have same contents
@@ -214,9 +214,9 @@ public class ArchiveUtils {
/**
* Compare byte buffers, optionally ignoring trailing nulls
- *
+ *
* @param buffer1 the first buffer
- * @param buffer2 the second buffer
+ * @param buffer2 the second buffer
* @param ignoreTrailingNulls whether to ignore tariling nulls
* @return {@code true} if buffer1 and buffer2 have same contents
*/
@@ -226,7 +226,7 @@ public class ArchiveUtils {
/**
* Compare byte buffers, ignoring trailing nulls
- *
+ *
* @param buffer1 the first buffer
* @param offset1 the first offset
* @param length1 the first length
@@ -240,10 +240,10 @@ public class ArchiveUtils {
final byte[] buffer2, final int offset2, final int length2){
return isEqual(buffer1, offset1, length1, buffer2, offset2, length2, true);
}
-
+
/**
* Returns true if the first N bytes of an array are all zero
- *
+ *
* @param a
* The array to check
* @param size
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/BitInputStream.java b/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
index d0e10ba..45d30ec 100644
--- a/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
@@ -44,7 +44,7 @@ public class BitInputStream implements Closeable {
private int bitsCachedSize = 0;
/**
- * Constructor taking an InputStream and its bit arrangement.
+ * Constructor taking an InputStream and its bit arrangement.
* @param in the InputStream
* @param byteOrder the bit arrangement across byte boundaries,
* either BIG_ENDIAN (aaaaabbb bb000000) or LITTLE_ENDIAN (bbbaaaaa 000000bb)
@@ -67,7 +67,7 @@ public class BitInputStream implements Closeable {
bitsCached = 0;
bitsCachedSize = 0;
}
-
+
/**
* Returns at most 63 bits read from the underlying stream.
*
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java b/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java
index 978f09e..8c3465d 100644
--- a/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java
@@ -28,7 +28,7 @@ import java.io.InputStream;
public class BoundedInputStream extends InputStream {
private final InputStream in;
private long bytesRemaining;
-
+
/**
* Creates the stream that will at most read the given amount of
* bytes from the given stream.
@@ -39,7 +39,7 @@ public class BoundedInputStream extends InputStream {
this.in = in;
bytesRemaining = size;
}
-
+
@Override
public int read() throws IOException {
if (bytesRemaining > 0) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java b/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
index bac3716..9af6afb 100644
--- a/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
@@ -27,7 +27,7 @@ import java.util.zip.CRC32;
* @since 1.6
*/
public class CRC32VerifyingInputStream extends ChecksumVerifyingInputStream {
-
+
/**
* @param in the stream to wrap
* @param size the of the stream's content
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/CharsetNames.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/CharsetNames.java b/src/main/java/org/apache/commons/compress/utils/CharsetNames.java
index 7ff6067..61cb67f 100644
--- a/src/main/java/org/apache/commons/compress/utils/CharsetNames.java
+++ b/src/main/java/org/apache/commons/compress/utils/CharsetNames.java
@@ -13,14 +13,14 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.commons.compress.utils;
/**
* Character encoding names required of every implementation of the Java platform.
- *
+ *
* From the Java documentation <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
* charsets</a>:
* <p>
@@ -28,7 +28,7 @@ package org.apache.commons.compress.utils;
* release documentation for your implementation to see if any other encodings are supported. Consult the release
* documentation for your implementation to see if any other encodings are supported. </cite>
* </p>
- *
+ *
* <dl>
* <dt><code>US-ASCII</code></dt>
* <dd>Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.</dd>
@@ -44,10 +44,10 @@ package org.apache.commons.compress.utils;
* <dd>Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order
* accepted on input, big-endian used on output.)</dd>
* </dl>
- *
+ *
* <p>This perhaps would best belong in the [lang] project. Even if a similar interface is defined in [lang], it is not
* foreseen that [compress] would be made to depend on [lang].</p>
- *
+ *
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
* @since 1.4
* @version $Id$
@@ -58,7 +58,7 @@ public class CharsetNames {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
*/
public static final String ISO_8859_1 = "ISO-8859-1";
@@ -70,7 +70,7 @@ public class CharsetNames {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
*/
public static final String US_ASCII = "US-ASCII";
@@ -83,7 +83,7 @@ public class CharsetNames {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
*/
public static final String UTF_16 = "UTF-16";
@@ -95,7 +95,7 @@ public class CharsetNames {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
*/
public static final String UTF_16BE = "UTF-16BE";
@@ -107,7 +107,7 @@ public class CharsetNames {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
*/
public static final String UTF_16LE = "UTF-16LE";
@@ -119,7 +119,7 @@ public class CharsetNames {
* <p>
* Every implementation of the Java platform is required to support this character encoding.
* </p>
- *
+ *
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
*/
public static final String UTF_8 = "UTF-8";
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStream.java b/src/main/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStream.java
index de2bef4..a7d8d6c 100644
--- a/src/main/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStream.java
@@ -32,7 +32,7 @@ public class ChecksumVerifyingInputStream extends InputStream {
private long bytesRemaining;
private final long expectedChecksum;
private final Checksum checksum;
-
+
public ChecksumVerifyingInputStream(final Checksum checksum, final InputStream in,
final long size, final long expectedChecksum) {
this.checksum = checksum;
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java b/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java
index f79b95b..461071e 100644
--- a/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java
@@ -57,7 +57,7 @@ public class CountingInputStream extends FilterInputStream {
/**
* Increments the counter of already read bytes.
* Doesn't increment if the EOF has been hit (read == -1)
- *
+ *
* @param read the number of bytes read
*/
protected final void count(final long read) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java b/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java
index e91de89..ac886bc 100644
--- a/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java
@@ -52,7 +52,7 @@ public class CountingOutputStream extends FilterOutputStream {
/**
* Increments the counter of already written bytes.
* Doesn't increment if the EOF has been hit (written == -1)
- *
+ *
* @param written the number of bytes written
*/
protected void count(final long written) {
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6b12eab8/src/main/java/org/apache/commons/compress/utils/IOUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/utils/IOUtils.java b/src/main/java/org/apache/commons/compress/utils/IOUtils.java
index 8ab0ace..c7e0e80 100644
--- a/src/main/java/org/apache/commons/compress/utils/IOUtils.java
+++ b/src/main/java/org/apache/commons/compress/utils/IOUtils.java
@@ -35,7 +35,7 @@ public final class IOUtils {
private static final int COPY_BUF_SIZE = 8024;
private static final int SKIP_BUF_SIZE = 4096;
-
+
// This buffer does not need to be synchronised because it is write only; the contents are ignored
// Does not affect Immutability
private static final byte[] SKIP_BUF = new byte[SKIP_BUF_SIZE];
@@ -83,7 +83,7 @@ public final class IOUtils {
}
return count;
}
-
+
/**
* Skips the given number of bytes by repeatedly invoking skip on
* the given input stream if necessary.
@@ -109,7 +109,7 @@ public final class IOUtils {
}
numToSkip -= skipped;
}
-
+
while (numToSkip > 0) {
final int read = readFully(input, SKIP_BUF, 0,
(int) Math.min(numToSkip, SKIP_BUF_SIZE));