Skip to content

Commit

Permalink
fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
thcathy committed Jun 10, 2024
1 parent ff40090 commit 98eb228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public List<StockQuote> parseResponse(InputStream response) {
String[] indexes = IOUtils.toString(response, StandardCharsets.ISO_8859_1).split(";");
return Arrays.stream(indexes)
.flatMap(Money18LocalIndexQuoteRequest::toStockQuote)
.filter(q -> q.getStockCode().equals("CSCSHQ") || q.getStockCode().equals("CSCSZQ"))
.filter(q -> !q.getStockCode().equals("CSCSHQ") || !q.getStockCode().equals("CSCSZQ"))
.collect(Collectors.toList());
} catch (Exception e) {
log.error("cannot parse response", e);
Expand Down

0 comments on commit 98eb228

Please sign in to comment.