ICU-5888 Fix compile error caused by the use of Java 5 syntax.
X-SVN-Rev: 22568
This commit is contained in:
parent
42188d3e3d
commit
f348dd22ee
@ -68,7 +68,8 @@ public class TimeZoneFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
// prepare the zoneFormats for the locale
|
||||
List zoneFormatList = new ArrayList();
|
||||
for (String zoneFormat : zoneFormats) {
|
||||
for (int zoneFormatsIndex = 0; zoneFormatsIndex < zoneFormats.length; ++zoneFormatsIndex) {
|
||||
String zoneFormat = zoneFormats[zoneFormatsIndex];
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(zoneFormat, locale);
|
||||
try {
|
||||
// check once just to make sure the syntax is supported
|
||||
|
Loading…
Reference in New Issue
Block a user