summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-12-31 08:27:23 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-12-31 08:27:23 +0000
commit72722486ae49ce3e6c4eda755e0ad7066e16db93 (patch)
tree8b85eaa5508060a03e2700f9e78e719362874e62 /ChangeLog
parent95477f623ca280124208a419d55124fe345fc843 (diff)
downloadclasspath-72722486ae49ce3e6c4eda755e0ad7066e16db93.tar.gz
Cleanup of java.text classes.
2008-12-31 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/text/MessageFormat.java: Convert variables to use generic types, use CPStringBuilder in place of StringBuilder. (Field()): Suppress warning due to only being used by deserialization. (scanFormat(String,int,CPStringBuilder,List,Locale)): Use ArrayList instead of Vector as no synchronisation needed. (parse(String,ParsePosition)): Likewise. * java/text/NumberFormat.java: (Field()): Suppress warning due to only being used by deserialization. * java/text/RuleBasedCollator.java: Convert variables to use generic types. (CollationElement): Make fields final. (CollationSorter): Likewise. (CollationSorter(int,String,int,boolean)): New constructor. * java/text/SimpleDateFormat.java, Convert variables to use generic types. (applyPattern(String)): Clear list rather than creating a new instance.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f5787acc..506b4a8be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2008-12-31 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/text/MessageFormat.java:
+ Convert variables to use generic types, use
+ CPStringBuilder in place of StringBuilder.
+ (Field()): Suppress warning due to only being used by
+ deserialization.
+ (scanFormat(String,int,CPStringBuilder,List,Locale)):
+ Use ArrayList instead of Vector as no synchronisation needed.
+ (parse(String,ParsePosition)): Likewise.
+ * java/text/NumberFormat.java:
+ (Field()): Suppress warning due to only being used by
+ deserialization.
+ * java/text/RuleBasedCollator.java:
+ Convert variables to use generic types.
+ (CollationElement): Make fields final.
+ (CollationSorter): Likewise.
+ (CollationSorter(int,String,int,boolean)): New constructor.
+ * java/text/SimpleDateFormat.java,
+ Convert variables to use generic types.
+ (applyPattern(String)): Clear list rather than creating a new instance.
+
2008-12-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/SimpleDateFormat.java: