am 7317a257: am 24c4d626: Merge "Fix NumberFormatException" into jb-dev

* commit '7317a257e553c6ecc7adb4211a0370d502bfa0fe':
  Fix NumberFormatException
main
Satoshi Kataoka 2012-05-28 21:24:57 -07:00 committed by Android Git Automerger
commit 1963e46080
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>();
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;