-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2, 6
-
b40
-
generic
-
generic
ZipEntry methods @see are un-usefully self-referential
--- /tmp/geta21437 2005-05-26 00:31:22.375435600 -0700
+++ ZipEntry.java 2005-05-26 00:28:38.478941000 -0700
@@ -171,29 +171,29 @@
}
/**
* Sets the CRC-32 checksum of the uncompressed entry data.
* @param crc the CRC-32 value
* @exception IllegalArgumentException if the specified CRC-32 value is
* less than 0 or greater than 0xFFFFFFFF
- * @see #setCrc(long)
+ * @see #getCrc()
*/
public void setCrc(long crc) {
if (crc < 0 || crc > 0xFFFFFFFFL) {
throw new IllegalArgumentException("invalid entry crc-32");
}
this.crc = crc;
}
/**
* Returns the CRC-32 checksum of the uncompressed entry data, or -1 if
* not known.
* @return the CRC-32 checksum of the uncompressed entry data, or -1 if
* not known
- * @see #getCrc()
+ * @see #setCrc(long)
*/
public long getCrc() {
return crc;
}
###@###.### 2005-05-26 07:33:09 GMT
--- /tmp/geta21437 2005-05-26 00:31:22.375435600 -0700
+++ ZipEntry.java 2005-05-26 00:28:38.478941000 -0700
@@ -171,29 +171,29 @@
}
/**
* Sets the CRC-32 checksum of the uncompressed entry data.
* @param crc the CRC-32 value
* @exception IllegalArgumentException if the specified CRC-32 value is
* less than 0 or greater than 0xFFFFFFFF
- * @see #setCrc(long)
+ * @see #getCrc()
*/
public void setCrc(long crc) {
if (crc < 0 || crc > 0xFFFFFFFFL) {
throw new IllegalArgumentException("invalid entry crc-32");
}
this.crc = crc;
}
/**
* Returns the CRC-32 checksum of the uncompressed entry data, or -1 if
* not known.
* @return the CRC-32 checksum of the uncompressed entry data, or -1 if
* not known
- * @see #getCrc()
+ * @see #setCrc(long)
*/
public long getCrc() {
return crc;
}
###@###.### 2005-05-26 07:33:09 GMT
- duplicates
-
JDK-4828260 Few typos in java.util.zip API spec
-
- Closed
-