Fix NumberFormatException

Bug: 6567496
Change-Id: Ib0d9fab8496c8c856b94cce5812a263efbcb724f
This commit is contained in:
Satoshi Kataoka 2012-05-29 13:16:38 +09:00
parent e09520290f
commit 48255b1747

View file

@ -500,8 +500,8 @@ public class Utils {
}
final HashMap<String, Long> retval = new HashMap<String, Long>();
for (int i = 0; i < N / 2; ++i) {
final String localeStr = ss[i];
final long time = Long.valueOf(ss[i + 1]);
final String localeStr = ss[i * 2];
final long time = Long.valueOf(ss[i * 2 + 1]);
retval.put(localeStr, time);
}
return retval;