mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix NumberFormatException" into jb-dev
This commit is contained in:
commit
24c4d62618
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user