Repository: ant Updated Branches: refs/heads/master 46311e173 -> 5f4c43ddc
http://git-wip-us.apache.org/repos/asf/ant/blob/5f4c43dd/src/main/org/apache/tools/ant/util/UUEncoder.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/ant/util/UUEncoder.java b/src/main/org/apache/tools/ant/util/UUEncoder.java index 852e9a1..f37cac4 100644 --- a/src/main/org/apache/tools/ant/util/UUEncoder.java +++ b/src/main/org/apache/tools/ant/util/UUEncoder.java @@ -23,7 +23,7 @@ import java.io.OutputStream; import java.io.PrintStream; /** - * UUEncoding of an input stream placed into an outputstream. + * UUEncoding of an input stream placed into an OutputStream. * This class is meant to be a drop in replacement for * sun.misc.UUEncoder, which was previously used by Ant. * The uuencode algorithm code has been copied from the http://git-wip-us.apache.org/repos/asf/ant/blob/5f4c43dd/src/main/org/apache/tools/bzip2/BlockSort.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/bzip2/BlockSort.java b/src/main/org/apache/tools/bzip2/BlockSort.java index d39d705..f019da8 100644 --- a/src/main/org/apache/tools/bzip2/BlockSort.java +++ b/src/main/org/apache/tools/bzip2/BlockSort.java @@ -52,7 +52,7 @@ import java.util.BitSet; * ssCommons Compre * </pre> * - * <p>Which results in a new text "ss romooCCmmpnse", in adition the + * <p>Which results in a new text "ss romooCCmmpnse", in addition the * index of the first line that contained the original text is kept - * in this case it is 1. The idea is that in a long English text all * permutations that start with "he" are likely suffixes of a "the" and http://git-wip-us.apache.org/repos/asf/ant/blob/5f4c43dd/src/main/org/apache/tools/mail/MailMessage.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/mail/MailMessage.java b/src/main/org/apache/tools/mail/MailMessage.java index a863f38..dad50a9 100644 --- a/src/main/org/apache/tools/mail/MailMessage.java +++ b/src/main/org/apache/tools/mail/MailMessage.java @@ -255,7 +255,7 @@ public class MailMessage { /** * Sets the named header to the given value. RFC 822 provides the rules for - * what text may constitute a header name and value. + * what text may constitue a header name and value. * @param name name of the header * @param value contents of the header */ http://git-wip-us.apache.org/repos/asf/ant/blob/5f4c43dd/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java b/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java index a399fb2..f75c2d8 100644 --- a/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java +++ b/src/main/org/apache/tools/zip/Simple8BitZipEncoding.java @@ -26,19 +26,19 @@ import java.util.Collections; import java.util.List; /** - * This ZipEncoding implementation implements a simple 8bit character - * set, which mets the following restrictions: + * This ZipEncoding implementation implements a simple 8 bit character + * set, which meets the following restrictions: * * <ul> * <li>Characters 0x0000 to 0x007f are encoded as the corresponding * byte values 0x00 to 0x7f.</li> - * <li>All byte codes from 0x80 to 0xff are mapped to a unique unicode + * <li>All byte codes from 0x80 to 0xff are mapped to a unique Unicode * character in the range 0x0080 to 0x7fff. (No support for * UTF-16 surrogates) * </ul> * * <p>These restrictions most notably apply to the most prominent - * omissions of java-1.4's {@link java.nio.charset.Charset Charset} + * omissions of Java 1.4 {@link java.nio.charset.Charset Charset} * implementation, Cp437 and Cp850.</p> * * <p>The methods of this class are reentrant.</p> http://git-wip-us.apache.org/repos/asf/ant/blob/5f4c43dd/src/main/org/apache/tools/zip/ZipFile.java ---------------------------------------------------------------------- diff --git a/src/main/org/apache/tools/zip/ZipFile.java b/src/main/org/apache/tools/zip/ZipFile.java index 941d0ae..6dd69bf 100644 --- a/src/main/org/apache/tools/zip/ZipFile.java +++ b/src/main/org/apache/tools/zip/ZipFile.java @@ -472,7 +472,7 @@ public class ZipFile implements Closeable { } /** - * Reads an individual entry of the central directory, creats an + * Reads an individual entry of the central directory, creates an * ZipEntry from it and adds it to the global maps. * * @param noUTF8Flag map used to collect entries that don't have @@ -778,7 +778,7 @@ public class ZipFile implements Closeable { /** * Searches the archive backwards from minDistance to maxDistance - * for the given signature, positions the RandomaccessFile right + * for the given signature, positions the RandomAccessFile right * at the signature if it has been found. */ private boolean tryToLocateSignature(final long minDistanceFromEnd,
