Skip to content

Commit

Permalink
Merge pull request #42 from markyao/patch-2
Browse files Browse the repository at this point in the history
zk里面配置值有空格引发异常
  • Loading branch information
knightliao committed Nov 20, 2015
2 parents d576dcd + 147e1e4 commit 14c479d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ private List<String> compareConfig(String zkData, String dbData) {
errorKeyList.add(keyInZk);

} else {


zkDataStr = zkDataStr.trim();
boolean isEqual = true;

if (MyStringUtils.isDouble(zkDataStr) && MyStringUtils.isDouble(valueInDb.toString())) {
Expand Down

0 comments on commit 14c479d

Please sign in to comment.