PR: 28998 Obtained from: Jesse Glick git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276466 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -43,9 +43,6 @@ public class DemuxInputStream extends InputStream { | |||||
| this.project = project; | this.project = project; | ||||
| } | } | ||||
| /** | |||||
| * @see InputStream.read() | |||||
| */ | |||||
| public int read() throws IOException { | public int read() throws IOException { | ||||
| byte[] buffer = new byte[1]; | byte[] buffer = new byte[1]; | ||||
| if (project.demuxInput(buffer, 0, 1) == -1) { | if (project.demuxInput(buffer, 0, 1) == -1) { | ||||
| @@ -55,10 +52,8 @@ public class DemuxInputStream extends InputStream { | |||||
| } | } | ||||
| /** | |||||
| * @see InputStream.read(byte[], int, int) | |||||
| */ | |||||
| public int read(byte[] buffer, int offset, int length) throws IOException { | public int read(byte[] buffer, int offset, int length) throws IOException { | ||||
| return project.demuxInput(buffer, offset, length); | return project.demuxInput(buffer, offset, length); | ||||
| } | } | ||||
| } | } | ||||
| @@ -37,7 +37,7 @@ import org.apache.tools.ant.util.regexp.Regexp; | |||||
| * @since Ant 1.6 | * @since Ant 1.6 | ||||
| * @see BaseFilterReader | * @see BaseFilterReader | ||||
| * @see ChainableReader | * @see ChainableReader | ||||
| * @see DynamicConfigurator | |||||
| * @see org.apache.tools.ant.DynamicConfigurator | |||||
| */ | */ | ||||
| public class TokenFilter extends BaseFilterReader | public class TokenFilter extends BaseFilterReader | ||||
| implements ChainableReader { | implements ChainableReader { | ||||
| @@ -205,7 +205,7 @@ public abstract class DataType extends ProjectComponent { | |||||
| /** | /** | ||||
| * check that it is ok to set attributes, i.e that no reference is defined | * check that it is ok to set attributes, i.e that no reference is defined | ||||
| * @since Ant 1.6 | * @since Ant 1.6 | ||||
| * @throw BuildException if not allowed | |||||
| * @throws BuildException if not allowed | |||||
| */ | */ | ||||
| protected void checkAttributesAllowed() { | protected void checkAttributesAllowed() { | ||||
| if (isReference()) { | if (isReference()) { | ||||
| @@ -216,7 +216,7 @@ public abstract class DataType extends ProjectComponent { | |||||
| /** | /** | ||||
| * check that it is ok to add children, i.e that no reference is defined | * check that it is ok to add children, i.e that no reference is defined | ||||
| * @since Ant 1.6 | * @since Ant 1.6 | ||||
| * @throw BuildException if not allowed | |||||
| * @throws BuildException if not allowed | |||||
| */ | */ | ||||
| protected void checkChildrenAllowed() { | protected void checkChildrenAllowed() { | ||||
| if (isReference()) { | if (isReference()) { | ||||
| @@ -1327,7 +1327,7 @@ public class FileUtils { | |||||
| * implicitly not up do date. | * implicitly not up do date. | ||||
| * @param source source file (should be the older) | * @param source source file (should be the older) | ||||
| * @param dest dest file (should be the newer) | * @param dest dest file (should be the newer) | ||||
| * @param granularity: an offset added to the source time. | |||||
| * @param granularity an offset added to the source time. | |||||
| * @return true if the source is older than the dest, taking the | * @return true if the source is older than the dest, taking the | ||||
| * granularity into account | * granularity into account | ||||
| * @since Ant1.7 | * @since Ant1.7 | ||||
| @@ -161,9 +161,8 @@ public class ZipFile { | |||||
| } | } | ||||
| /** | /** | ||||
| * Returns all entries as {@link org.apache.tools.ant.ZipEntry | |||||
| * ZipEntry} instances. | |||||
| * @return all entries as ZipEntry instances. | |||||
| * Returns all entries. | |||||
| * @return all entries as {@link ZipEntry} instances | |||||
| */ | */ | ||||
| public Enumeration getEntries() { | public Enumeration getEntries() { | ||||
| return entries.keys(); | return entries.keys(); | ||||
| @@ -256,8 +256,8 @@ public class ZipOutputStream extends FilterOutputStream { | |||||
| * access file). | * access file). | ||||
| * | * | ||||
| * <p>For seekable streams, you don't need to calculate the CRC or | * <p>For seekable streams, you don't need to calculate the CRC or | ||||
| * uncompressed size for {@link #STORED STORED} entries before | |||||
| * invoking {@link #putEntry putEntry}. | |||||
| * uncompressed size for {@link #STORED} entries before | |||||
| * invoking {@link #putNextEntry}. | |||||
| * | * | ||||
| * @since 1.17 | * @since 1.17 | ||||
| */ | */ | ||||