diff --git a/src/main/Main.java b/src/main/Main.java index 0cf764d..325dd80 100644 --- a/src/main/Main.java +++ b/src/main/Main.java @@ -17,8 +17,8 @@ formParam.add(new RestParam("userPass", "abc")); api.setupRestTest(Method.GET, queryParam, formParam, pathParam); api.doRestTest(); - for (int i = 0; i < RestApi.ACCOUNT_NUM; i++) { - System.out.println(api.getResult(i)); + for (String result : api.getResults()) { + System.out.println(result); } System.out.println(api.getJudgeResult()); }