COMPRESS-415 fix capitalization of CpioArchive(Entry|InputStream)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index de5ca43..e430f25 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -95,6 +95,10 @@
It is now possible to specify/read custom PAX headers when
writing/reading tar archives.
</action>
+ <action issue="COMPRESS-415" type="fix" date="2017-06-27">
+ Fixed classnames of CpioArchiveEntry and
+ CpioArchiveInputStream in variuous javadocs.
+ </action>
</release>
<release version="1.14" date="2017-05-14"
description="Release 1.14">
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 e5675f0..ef0fc1f 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
@@ -188,7 +188,7 @@
private long uid = 0;
/**
- * Creates a CPIOArchiveEntry with a specified format.
+ * Creates a CpioArchiveEntry with a specified format.
*
* @param format
* The cpio format for this entry.
@@ -226,7 +226,7 @@
}
/**
- * Creates a CPIOArchiveEntry with a specified name. The format of
+ * Creates a CpioArchiveEntry with a specified name. The format of
* this entry will be the new format.
*
* @param name
@@ -237,7 +237,7 @@
}
/**
- * Creates a CPIOArchiveEntry with a specified name.
+ * Creates a CpioArchiveEntry with a specified name.
*
* @param format
* The cpio format for this entry.
@@ -260,7 +260,7 @@
}
/**
- * Creates a CPIOArchiveEntry with a specified name. The format of
+ * Creates a CpioArchiveEntry with a specified name. The format of
* this entry will be the new format.
*
* @param name
@@ -274,7 +274,7 @@
}
/**
- * Creates a CPIOArchiveEntry with a specified name.
+ * Creates a CpioArchiveEntry with a specified name.
*
* @param format
* The cpio format for this entry.
@@ -300,7 +300,7 @@
}
/**
- * Creates a CPIOArchiveEntry with a specified name for a
+ * Creates a CpioArchiveEntry with a specified name for a
* specified file. The format of this entry will be the new
* format.
*
@@ -314,7 +314,7 @@
}
/**
- * Creates a CPIOArchiveEntry with a specified name for a
+ * Creates a CpioArchiveEntry with a specified name for a
* specified file.
*
* @param format
@@ -384,7 +384,7 @@
*
* @return Returns the device id.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with a new
+ * if this method is called for a CpioArchiveEntry with a new
* format.
*/
public long getDevice() {
@@ -397,7 +397,7 @@
*
* @return Returns the major device id.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with an old
+ * if this method is called for a CpioArchiveEntry with an old
* format.
*/
public long getDeviceMaj() {
@@ -540,7 +540,7 @@
*
* @return Returns the remote device id.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with a new
+ * if this method is called for a CpioArchiveEntry with a new
* format.
*/
public long getRemoteDevice() {
@@ -553,7 +553,7 @@
*
* @return Returns the remote major device id.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with an old
+ * if this method is called for a CpioArchiveEntry with an old
* format.
*/
public long getRemoteDeviceMaj() {
@@ -566,7 +566,7 @@
*
* @return Returns the remote minor device id.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with an old
+ * if this method is called for a CpioArchiveEntry with an old
* format.
*/
public long getRemoteDeviceMin() {
@@ -688,7 +688,7 @@
* @param device
* The device id to set.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with a new
+ * if this method is called for a CpioArchiveEntry with a new
* format.
*/
public void setDevice(final long device) {
@@ -806,7 +806,7 @@
* @param device
* The remote device id to set.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with a new
+ * if this method is called for a CpioArchiveEntry with a new
* format.
*/
public void setRemoteDevice(final long device) {
@@ -820,7 +820,7 @@
* @param rmaj
* The remote major device id to set.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with an old
+ * if this method is called for a CpioArchiveEntry with an old
* format.
*/
public void setRemoteDeviceMaj(final long rmaj) {
@@ -834,7 +834,7 @@
* @param rmin
* The remote minor device id to set.
* @throws UnsupportedOperationException
- * if this method is called for a CPIOArchiveEntry with an old
+ * if this method is called for a CpioArchiveEntry with an old
* format.
*/
public void setRemoteDeviceMin(final long rmin) {
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 7cf95fd..69bfc87 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
@@ -31,7 +31,7 @@
import org.apache.commons.compress.utils.IOUtils;
/**
- * CPIOArchiveInputStream is a stream for reading cpio streams. All formats of
+ * CpioArchiveInputStream is a stream for reading cpio streams. All formats of
* cpio are supported (old ascii, old binary, new portable format and the new
* portable format with crc).
*
@@ -41,9 +41,9 @@
* specified by the entry.
* </p>
* <pre>
- * CPIOArchiveInputStream cpioIn = new CPIOArchiveInputStream(
+ * CpioArchiveInputStream cpioIn = new CpioArchiveInputStream(
* Files.newInputStream(Paths.get("test.cpio")));
- * CPIOArchiveEntry cpioEntry;
+ * CpioArchiveEntry cpioEntry;
*
* while ((cpioEntry = cpioIn.getNextEntry()) != null) {
* System.out.println(cpioEntry.getName());
@@ -224,7 +224,7 @@
* Reads the next CPIO file entry and positions stream at the beginning of
* the entry data.
*
- * @return the CPIOArchiveEntry just read
+ * @return the CpioArchiveEntry just read
* @throws IOException
* if an I/O error has occurred or if a CPIO file error has
* occurred
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 88ec07e..6423b52 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
@@ -32,7 +32,7 @@
import org.apache.commons.compress.utils.CharsetNames;
/**
- * CPIOArchiveOutputStream is a stream for writing CPIO streams. All formats of
+ * CpioArchiveOutputStream is a stream for writing CPIO streams. All formats of
* CPIO are supported (old ASCII, old binary, new portable format and the new
* portable format with CRC).
*
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 2c8dfb0..398ace4 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
@@ -39,16 +39,16 @@
// These FORMAT_ constants are internal to the code
- /** write/read a CPIOArchiveEntry in the new format */
+ /** write/read a CpioArchiveEntry in the new format */
short FORMAT_NEW = 1;
- /** write/read a CPIOArchiveEntry in the new format with crc */
+ /** write/read a CpioArchiveEntry in the new format with crc */
short FORMAT_NEW_CRC = 2;
- /** write/read a CPIOArchiveEntry in the old ascii format */
+ /** write/read a CpioArchiveEntry in the old ascii format */
short FORMAT_OLD_ASCII = 4;
- /** write/read a CPIOArchiveEntry in the old binary format */
+ /** write/read a CpioArchiveEntry in the old binary format */
short FORMAT_OLD_BINARY = 8;
/** Mask for both new formats */