Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengchenyu committed Aug 10, 2023
1 parent 43d819d commit a1adeee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public RemoteStorageInfo(String path, Map<String, String> confItems) {
public RemoteStorageInfo(String path, String confString) {
this.path = path;
this.confItems = Maps.newHashMap();
confString = confString.replace("\\" + Constants.COMMA_SPLIT_CHAR, "\r");
confString = confString.replace("\\" + Constants.EQUAL_SPLIT_CHAR, "\n");
if (!StringUtils.isEmpty(confString)) {
confString = confString.replace("\\" + Constants.COMMA_SPLIT_CHAR, "\r");
confString = confString.replace("\\" + Constants.EQUAL_SPLIT_CHAR, "\n");
String[] items = confString.split(Constants.COMMA_SPLIT_CHAR);
if (!ArrayUtils.isEmpty(items)) {
for (String item : items) {
Expand Down

0 comments on commit a1adeee

Please sign in to comment.