We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d00a2 commit 15af770Copy full SHA for 15af770
website/src/main/java/info/xiaomo/website/controller/WebSetController.java
@@ -48,7 +48,7 @@ public WebSetController(WebSetService service) {
48
@RequestMapping(value = "findAll", method = RequestMethod.GET)
49
public Result findAll() {
50
List<SystemSetModel> list = service.findAll();
51
- if (list.isEmpty() || list.size() == 0) {
+ if (list.isEmpty()) {
52
return new Result(CodeConst.NULL_DATA.getResultCode(), CodeConst.NULL_DATA.getMessage());
53
}
54
return new Result<>(list);
0 commit comments