commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1544349 - in /commons/proper/codec/trunk/src: changes/ main/resources/org/apache/commons/codec/language/bm/ test/java/org/apache/commons/codec/binary/
Date Thu, 21 Nov 2013 22:37:37 GMT
Author: ggregory
Date: Thu Nov 21 22:37:36 2013
New Revision: 1544349

URL: http://svn.apache.org/r1544349
Log:
[CODEC-176] Spelling fixes in Javadoc and comments.

Modified:
    commons/proper/codec/trunk/src/changes/changes.xml
    commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt
    commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt
    commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java

Modified: commons/proper/codec/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/changes/changes.xml?rev=1544349&r1=1544348&r2=1544349&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/changes/changes.xml (original)
+++ commons/proper/codec/trunk/src/changes/changes.xml Thu Nov 21 22:37:36 2013
@@ -47,6 +47,7 @@ The <action> type attribute can be add,u
       <action dev="ggregory" type="fix" issue="CODEC-170" due-to="Ron Wheeler, Henri Yandell">Link
broken in Metaphone Javadoc</action>   
       <action dev="ggregory" type="updated" issue="CODEC-174" due-to="Thomas Champagne">Improve
performance of Beider Morse encoder</action>   
       <action dev="ggregory" type="fix" issue="CODEC-175">Beider Morse does not close
Scanners used to read config files</action>   
+      <action dev="ggregory" type="fix" issue="CODEC-176" due-to="Ville Skyttä">Spelling
fixes in Javadoc and comments</action>   
     </release>
     <release version="1.8" date="19 April 2013" description="Feature and fix release.
Requires a minimum of Java 1.6">
       <action dev="ggregory" type="add" issue="CODEC-168" due-to="Daniel Cassidy">Add
DigestUtils.updateDigest(MessageDigest, InputStream).</action>   

Modified: commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt?rev=1544349&r1=1544348&r2=1544349&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt
(original)
+++ commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/gen_rules_portuguese.txt
Thu Nov 21 22:37:36 2013
@@ -51,8 +51,8 @@
 
 "y" "[aáuiíoóeéê]" "" "j"
 "y" "" "[aeiíou]" "j"
-"m" "" "[bcdfglnprstv]" "(m|n)" // maybe to add a rule for m/n before a consonant that disappears
[preceeding vowel becomes nasalized]
-"m" "" "$" "(m|n)" // maybe to add a rule for final m/n that disappears [preceeding vowel
becomes nasalized]
+"m" "" "[bcdfglnprstv]" "(m|n)" // maybe to add a rule for m/n before a consonant that disappears
[preceding vowel becomes nasalized]
+"m" "" "$" "(m|n)" // maybe to add a rule for final m/n that disappears [preceding vowel
becomes nasalized]
 
 "ão" "" "" "(au|an|on)"
 "ãe" "" "" "(aj|an)"

Modified: commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt?rev=1544349&r1=1544348&r2=1544349&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt
(original)
+++ commons/proper/codec/trunk/src/main/resources/org/apache/commons/codec/language/bm/sep_rules_portuguese.txt
Thu Nov 21 22:37:36 2013
@@ -50,8 +50,8 @@
 
 "y" "[aáuiíoóeéê]" "" "j"
 "y" "" "[aeiíou]" "j"
-"m" "" "[bcdfglnprstv]" "(m|n)" // maybe to add a rule for m/n before a consonant that disappears
[preceeding vowel becomes nasalized]
-"m" "" "$" "(m|n)" // maybe to add a rule for final m/n that disappears [preceeding vowel
becomes nasalized]
+"m" "" "[bcdfglnprstv]" "(m|n)" // maybe to add a rule for m/n before a consonant that disappears
[preceding vowel becomes nasalized]
+"m" "" "$" "(m|n)" // maybe to add a rule for final m/n that disappears [preceding vowel
becomes nasalized]
 
 "ão" "" "" "(au|an|on)"
 "ãe" "" "" "(aj|an)"

Modified: commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java?rev=1544349&r1=1544348&r2=1544349&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java
(original)
+++ commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64OutputStreamTest.java
Thu Nov 21 22:37:36 2013
@@ -181,16 +181,16 @@ public class Base64OutputStreamTest {
      *            the data from above, but decoded
      * @param chunkSize
      *            chunk size (line-length) of the base64 encoded data.
-     * @param seperator
+     * @param separator
      *            Line separator in the base64 encoded data.
      * @throws Exception
      *             Usually signifies a bug in the Base64 commons-codec implementation.
      */
-    private void testByChunk(final byte[] encoded, final byte[] decoded, final int chunkSize,
final byte[] seperator) throws Exception {
+    private void testByChunk(final byte[] encoded, final byte[] decoded, final int chunkSize,
final byte[] separator) throws Exception {
 
         // Start with encode.
         ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
-        OutputStream out = new Base64OutputStream(byteOut, true, chunkSize, seperator);
+        OutputStream out = new Base64OutputStream(byteOut, true, chunkSize, separator);
         out.write(decoded);
         out.close();
         byte[] output = byteOut.toByteArray();
@@ -209,7 +209,7 @@ public class Base64OutputStreamTest {
         out = byteOut;
         for (int i = 0; i < 10; i++) {
             out = new Base64OutputStream(out, false);
-            out = new Base64OutputStream(out, true, chunkSize, seperator);
+            out = new Base64OutputStream(out, true, chunkSize, separator);
         }
         out.write(decoded);
         out.close();
@@ -231,16 +231,16 @@ public class Base64OutputStreamTest {
      *            the data from above, but decoded
      * @param chunkSize
      *            chunk size (line-length) of the base64 encoded data.
-     * @param seperator
+     * @param separator
      *            Line separator in the base64 encoded data.
      * @throws Exception
      *             Usually signifies a bug in the Base64 commons-codec implementation.
      */
-    private void testByteByByte(final byte[] encoded, final byte[] decoded, final int chunkSize,
final byte[] seperator) throws Exception {
+    private void testByteByByte(final byte[] encoded, final byte[] decoded, final int chunkSize,
final byte[] separator) throws Exception {
 
         // Start with encode.
         ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
-        OutputStream out = new Base64OutputStream(byteOut, true, chunkSize, seperator);
+        OutputStream out = new Base64OutputStream(byteOut, true, chunkSize, separator);
         for (final byte element : decoded) {
             out.write(element);
         }
@@ -274,7 +274,7 @@ public class Base64OutputStreamTest {
         out = byteOut;
         for (int i = 0; i < 10; i++) {
             out = new Base64OutputStream(out, false);
-            out = new Base64OutputStream(out, true, chunkSize, seperator);
+            out = new Base64OutputStream(out, true, chunkSize, separator);
         }
         for (final byte element : decoded) {
             out.write(element);



Mime
View raw message