Fix NumberFormatException

Bug: 6567496
Change-Id: Ib0d9fab8496c8c856b94cce5812a263efbcb724f
main
Satoshi Kataoka 2012-05-29 13:16:38 +09:00
parent e09520290f
commit 48255b1747
1 changed files with 2 additions and 2 deletions

View File

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