Skip to content

Commit c9ac37e

Browse files
committed
should be a faster regex
1 parent f02c023 commit c9ac37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xchange-abucoins/src/main/java/org/knowm/xchange/abucoins/AbucoinsAdapters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,6 @@ public static AbucoinsCreateLimitOrderRequest adaptAbucoinsCreateLimitOrderReque
322322
}
323323

324324
public static String[] adaptToSetOfIDs(String resp) {
325-
return resp.replaceAll("\\[|]|\"| ", "").split(",");
325+
return resp.replaceAll("[\\[\\\"\\] ]", "").split(",");
326326
}
327327
}

0 commit comments

Comments
 (0)