Skip to content

Commit

Permalink
solved issue skyscreamer#107
Browse files Browse the repository at this point in the history
  • Loading branch information
whitecat315 authored Apr 25, 2021
1 parent 1ea4158 commit cd7f343
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static String removeEndZero(String num) {

static String replaceNum(String str, ArrayList<String> num, ArrayList<String> newNum) {
for (int i = 0; i < num.size(); i++) {
str = str.replaceAll(num.get(i), newNum.get(i));
str = str.replace(num.get(i), newNum.get(i));
}
return str;
}
Expand Down

0 comments on commit cd7f343

Please sign in to comment.