Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-liu55 committed Jul 24, 2020
1 parent 95e4a1f commit 1a806bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
Util.checkBodySize(input);

boolean visible = false;
if (!input.equals("")) {
if (!"".equals(input)) {
visible = Util.getVisiblePost(input);
}

MarketOrderPairList reply = wallet.getMarketPairList();
if (reply != null) {
response.getWriter().println(JsonFormat.printToString(reply,visible));
response.getWriter().println(JsonFormat.printToString(reply, visible));
} else {
response.getWriter().println("{}");
}
Expand Down

0 comments on commit 1a806bd

Please sign in to comment.