Index: src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
===================================================================
--- src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java (revision 485580)
+++ src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java (working copy)
@@ -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);
Index: src/main/java/java/text/SimpleDateFormat.java
===================================================================
--- src/main/java/java/text/SimpleDateFormat.java (revision 485580)
+++ src/main/java/java/text/SimpleDateFormat.java (working copy)
@@ -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
Index: src/main/java/java/text/NumberFormat.java
===================================================================
--- src/main/java/java/text/NumberFormat.java (revision 485580)
+++ src/main/java/java/text/NumberFormat.java (working copy)
@@ -688,7 +688,7 @@
}
/**
- * serizalization method resolve instances to the constant
+ * serialization method resolve instances to the constant
* NumberFormat.Field values
*/
@Override
Index: src/main/java/java/text/RuleBasedCollator.java
===================================================================
--- src/main/java/java/text/RuleBasedCollator.java (revision 485580)
+++ src/main/java/java/text/RuleBasedCollator.java (working copy)
@@ -169,7 +169,7 @@
* Obtains the CollationKey for the given source text.
*
* @param source
- * the speicifed source text
+ * the specified source text
* @return the CollationKey for the given source text.
*/
@Override
Index: src/main/java/java/text/DecimalFormat.java
===================================================================
--- src/main/java/java/text/DecimalFormat.java (revision 485580)
+++ src/main/java/java/text/DecimalFormat.java (working copy)
@@ -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,
Index: src/main/java/java/text/Bidi.java
===================================================================
--- src/main/java/java/text/Bidi.java (revision 485580)
+++ src/main/java/java/text/Bidi.java (working copy)
@@ -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
Index: src/main/java/java/text/CollationElementIterator.java
===================================================================
--- src/main/java/java/text/CollationElementIterator.java (revision 485580)
+++ src/main/java/java/text/CollationElementIterator.java (working copy)
@@ -198,9 +198,9 @@
*
* 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. *
* * @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 Index: src/main/java/java/text/RuleBasedBreakIterator.java =================================================================== --- src/main/java/java/text/RuleBasedBreakIterator.java (revision 485580) +++ src/main/java/java/text/RuleBasedBreakIterator.java (working copy) @@ -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); Index: src/main/java/java/text/StringCharacterIterator.java =================================================================== --- src/main/java/java/text/StringCharacterIterator.java (revision 485580) +++ src/main/java/java/text/StringCharacterIterator.java (working copy) @@ -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 Index: src/main/java/java/text/BreakIterator.java =================================================================== --- src/main/java/java/text/BreakIterator.java (revision 485580) +++ src/main/java/java/text/BreakIterator.java (working copy) @@ -24,13 +24,13 @@ * can be got by some factory methods: *getCharacterIntance() returns a BreakIterator that iterate the
+ * getCharacterInstance() 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.getWordIntance() returns a BreakIterator that
+ * getWordInstance() returns a BreakIterator 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.