Browse Source

some stray @since tags from CC

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1346027 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 13 years ago
parent
commit
333b90446c
2 changed files with 0 additions and 9 deletions
  1. +0
    -2
      src/main/org/apache/tools/zip/ZipLong.java
  2. +0
    -7
      src/main/org/apache/tools/zip/ZipOutputStream.java

+ 0
- 2
src/main/org/apache/tools/zip/ZipLong.java View File

@@ -52,14 +52,12 @@ public final class ZipLong implements Cloneable {


/** /**
* Data Descriptor signature * Data Descriptor signature
* @since 1.1
*/ */
public static final ZipLong DD_SIG = new ZipLong(0X08074B50L); public static final ZipLong DD_SIG = new ZipLong(0X08074B50L);


/** /**
* Value stored in size and similar fields if ZIP64 extensions are * Value stored in size and similar fields if ZIP64 extensions are
* used. * used.
* @since 1.3
*/ */
static final ZipLong ZIP64_MAGIC = new ZipLong(ZipConstants.ZIP64_MAGIC); static final ZipLong ZIP64_MAGIC = new ZipLong(ZipConstants.ZIP64_MAGIC);




+ 0
- 7
src/main/org/apache/tools/zip/ZipOutputStream.java View File

@@ -1288,7 +1288,6 @@ public class ZipOutputStream extends FilterOutputStream {
* Writes the "ZIP64 End of central dir record" and * Writes the "ZIP64 End of central dir record" and
* "ZIP64 End of central dir locator". * "ZIP64 End of central dir locator".
* @throws IOException on error * @throws IOException on error
* @since 1.3
*/ */
protected void writeZip64CentralDirectory() throws IOException { protected void writeZip64CentralDirectory() throws IOException {
if (zip64Mode == Zip64Mode.Never) { if (zip64Mode == Zip64Mode.Never) {
@@ -1431,8 +1430,6 @@ public class ZipOutputStream extends FilterOutputStream {
/** /**
* Get the existing ZIP64 extended information extra field or * Get the existing ZIP64 extended information extra field or
* create a new one and add it to the entry. * create a new one and add it to the entry.
*
* @since 1.3
*/ */
private Zip64ExtendedInformationExtraField getZip64Extra(ZipEntry ze) { private Zip64ExtendedInformationExtraField getZip64Extra(ZipEntry ze) {
if (entry != null) { if (entry != null) {
@@ -1462,8 +1459,6 @@ public class ZipOutputStream extends FilterOutputStream {
/** /**
* Is there a ZIP64 extended information extra field for the * Is there a ZIP64 extended information extra field for the
* entry? * entry?
*
* @since 1.3
*/ */
private boolean hasZip64Extra(ZipEntry ze) { private boolean hasZip64Extra(ZipEntry ze) {
return ze.getExtraField(Zip64ExtendedInformationExtraField return ze.getExtraField(Zip64ExtendedInformationExtraField
@@ -1475,8 +1470,6 @@ public class ZipOutputStream extends FilterOutputStream {
* If the mode is AsNeeded and the entry is a compressed entry of * If the mode is AsNeeded and the entry is a compressed entry of
* unknown size that gets written to a non-seekable stream the * unknown size that gets written to a non-seekable stream the
* change the default to Never. * change the default to Never.
*
* @since 1.3
*/ */
private Zip64Mode getEffectiveZip64Mode(ZipEntry ze) { private Zip64Mode getEffectiveZip64Mode(ZipEntry ze) {
if (zip64Mode != Zip64Mode.AsNeeded if (zip64Mode != Zip64Mode.AsNeeded


Loading…
Cancel
Save