harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r487264 - in /harmony/enhanced/classlib/trunk/modules/text/src: main/java/java/text/ test/java/org/apache/harmony/text/tests/java/text/
Date Thu, 14 Dec 2006 17:23:23 GMT
Author: ayza
Date: Thu Dec 14 09:23:22 2006
New Revision: 487264

URL: http://svn.apache.org/viewvc?view=rev&rev=487264
Log:
Applying typos corrections from HARMONY-2586 ([Classlib][text] Wrong words in text module)

Modified:
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/BreakIterator.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/CollationElementIterator.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedBreakIterator.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedCollator.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/StringCharacterIterator.java
    harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java (original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java Thu Dec
14 09:23:22 2006
@@ -31,7 +31,7 @@
  * defined in the Unicode Standard Annex #9, version 13, also described in The
  * Unicode Standard, Version 4.0 .
  * 
- * Use a Bidi object to get the infomation on the position reordering of a
+ * Use a Bidi object to get the information on the position reordering of a
  * bidirectional text, such as Arabic or Hebrew. The natural display ordering of
  * horizontal text in these languages is from right to left, while they order
  * numbers from left to right.
@@ -335,7 +335,7 @@
     }
 
     /**
-     * Create a new Bidi object containing the infomation of one line from this
+     * Create a new Bidi object containing the information of one line from this
      * object.
      * 
      * @param lineStart
@@ -476,7 +476,7 @@
     }
 
     /**
-     * Reorder a range of objects according to their spefied levels. This is a
+     * Reorder a range of objects according to their specified levels. This is a
      * convenience function that does not use a Bidi object. The range of
      * objects at index from objectStart to objectStart + count will be
      * reordered according to the range of levels at index from levelStart to
@@ -487,7 +487,7 @@
      * @param levelStart
      *            the start offset of the range of the levels.
      * @param objects
-     *            the object array to reoeder.
+     *            the object array to reorder.
      * @param objectStart
      *            the start offset of the range of objects.
      * @param count

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/BreakIterator.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/BreakIterator.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/BreakIterator.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/BreakIterator.java
Thu Dec 14 09:23:22 2006
@@ -24,13 +24,13 @@
  * can be got by some factory methods:
  * <ul>
  * <li>
- * <code>getCharacterIntance()<code> returns a BreakIterator that iterate the

+ * <code>getCharacterInstance()<code> returns a BreakIterator that iterate the

  * logical characters without worrying about how the character is stored. For 
  * example, some character may be stored in more than one Unicode code point 
  * according to Unicode specification, this character can handle the logical 
  * characters with multi code points.</li>
  * <li>
- * <code>getWordIntance()<code> returns a <code>BreakIterator</code>
that 
+ * <code>getWordInstance()<code> returns a <code>BreakIterator</code>
that 
  * iterate the word-breaks. The beginning and end of each word(including numbers) 
  * is treated as boundary position. Whitespace and punctuation are kept separate 
  * from real words.</li>

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/CollationElementIterator.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/CollationElementIterator.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/CollationElementIterator.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/CollationElementIterator.java
Thu Dec 14 09:23:22 2006
@@ -198,9 +198,9 @@
      * </p>
      * <p>
      * If the decomposition mode is on, and offset is in the middle of a
-     * decomposible range of source text, the iterator may not return a correct
+     * decomposable range of source text, the iterator may not return a correct
      * result for the next forwards or backwards iteration. The user must ensure
-     * that the offset is not in the middle of a decomposible range.
+     * that the offset is not in the middle of a decomposable range.
      * </p>
      * 
      * @param newOffset
@@ -213,7 +213,7 @@
     }
 
     /**
-     * Sets a new source string interator for iteration, and reset the offset to
+     * Sets a new source string iterator for iteration, and reset the offset to
      * the beginning of the text.
      * 
      * @param source

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/DecimalFormat.java
Thu Dec 14 09:23:22 2006
@@ -241,7 +241,7 @@
      * 
      * @param number
      *            the object to format
-     * @param toAppandTo
+     * @param toAppendTo
      *            the StringBuffer
      * @param pos
      *            the FieldPosition
@@ -755,7 +755,7 @@
      * @throws IOException
      *             if some I/O error occurs
      * @throws ClassNotFoundException
-     *             if some class of serilized objects or fields cannot be found
+     *             if some class of serialized objects or fields cannot be found
      */
     private void readObject(ObjectInputStream stream) throws IOException,
             ClassNotFoundException {
@@ -835,7 +835,7 @@
     /*
      * Copies decimal format symbols from text object to ICU one.
      * 
-     * @param icu the object which recieves the new values. @param dfs the
+     * @param icu the object which receives the new values. @param dfs the
      * object which contains the new values.
      */
     private void copySymbols(final com.ibm.icu.text.DecimalFormatSymbols icu,

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/NumberFormat.java
Thu Dec 14 09:23:22 2006
@@ -688,7 +688,7 @@
         }
 
         /**
-         * serizalization method resolve instances to the constant
+         * serialization method resolve instances to the constant
          * NumberFormat.Field values
          */
         @Override

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedBreakIterator.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedBreakIterator.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedBreakIterator.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedBreakIterator.java
Thu Dec 14 09:23:22 2006
@@ -18,14 +18,14 @@
 package java.text;
 
 /*
- * Default implmentation of BreakIterator, wrap
+ * Default implementation of BreakIterator, wrap
  * com.ibm.icu.text.RuleBasedBreakIterator
  * 
  */
 class RuleBasedBreakIterator extends BreakIterator {
 
     /*
-     * Wraping construction
+     * Wrapping construction
      */
     RuleBasedBreakIterator(com.ibm.icu.text.BreakIterator iterator) {
         super(iterator);

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedCollator.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedCollator.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedCollator.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/RuleBasedCollator.java
Thu Dec 14 09:23:22 2006
@@ -169,7 +169,7 @@
      * Obtains the <code>CollationKey</code> for the given source text.
      * 
      * @param source
-     *            the speicifed source text
+     *            the specified source text
      * @return the <code>CollationKey</code> for the given source text.
      */
     @Override

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java
Thu Dec 14 09:23:22 2006
@@ -33,7 +33,7 @@
 import org.apache.harmony.text.internal.nls.Messages;
 
 /**
- * SimpleDateFormat is used to format and parse gregorian calendar dates and
+ * SimpleDateFormat is used to format and parse Gregorian calendar dates and
  * times based on a pattern of date and time fields. Each date and time field is
  * specified in the pattern by a specific character. The characters used can be
  * either localized or non-localized. For some fields, which have both numeric
@@ -577,7 +577,7 @@
      *            StringBuffer to store the resulting formatted String
      * @param field
      *            FieldPosition to set begin and end index of the field
-     *            specifed, if it is part of the format for this date
+     *            specified, if it is part of the format for this date
      * @param fields
      *            Vector used to store the FieldPositions for each field in this
      *            date

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/StringCharacterIterator.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/StringCharacterIterator.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/StringCharacterIterator.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/StringCharacterIterator.java
Thu Dec 14 09:23:22 2006
@@ -29,7 +29,7 @@
 
     /**
      * Constructs a new StringCharacterIterator on the specified String. The
-     * begin and current indexes are set to the begining of the String, the end
+     * begin and current indexes are set to the beginning of the String, the end
      * index is set to the length of the String.
      * 
      * @param value
@@ -44,7 +44,7 @@
     /**
      * Constructs a new StringCharacterIterator on the specified String with the
      * current index set to the specified value. The begin index is set to the
-     * begining of the String, the end index is set to the length of the String.
+     * beginning of the String, the end index is set to the length of the String.
      * 
      * @param value
      *            the new source String to iterate

Modified: harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java?view=diff&rev=487264&r1=487263&r2=487264
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
Thu Dec 14 09:23:22 2006
@@ -451,7 +451,7 @@
         NumberFormat nform = DecimalFormat.getInstance(Locale.US);
         DecimalFormat form = (DecimalFormat) nform;
 
-        // If Object(including null) is not of type Nubmer,
+        // If Object(including null) is not of type Number,
         // IllegalArgumentException will be thrown out
         try {
             form.format(new Object(), new StringBuffer(), new FieldPosition(0));
@@ -1550,7 +1550,7 @@
                 .getMinimumIntegerDigits());
         assertEquals(df.getMultiplier(), deserializedDF.getMultiplier());
 
-        // Delibrately omitted this assertion. Since different data resource
+        // Deliberately omitted this assertion. Since different data resource
         // will cause the assertion fail.
         // assertEquals(df, deserializedDF);
 



Mime
View raw message