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

* commit '24c4d62618ce4577736550172da59a4232b47a5b':
  Fix NumberFormatException
main
Satoshi Kataoka 2012-05-28 21:22:47 -07:00 committed by Android Git Automerger
commit 7317a257e5
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;