修复一个 MTA 的统计多个参数时出现的 BUG

This commit is contained in:
chenjuntao
2018-09-03 14:28:02 +08:00
parent 2b33d95329
commit 5827583edc

View File

@ -117,7 +117,7 @@ public class DataUtils {
// }
Properties prop = new Properties();
for (int i = 0; i < kv.length; i++) {
if (i % 2 != 0 || i != 0) {
if (i % 2 != 0 && i != 0) {
String key = kv[i - 1];
String value = kv[i];
if (!TextUtils.isEmpty(key) && !TextUtils.isEmpty(value)) {