diff --git a/src/main/java/com/ntlab/irisserver/entities/Turn.java b/src/main/java/com/ntlab/irisserver/entities/Turn.java index 0efffa7..dac1b89 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Turn.java +++ b/src/main/java/com/ntlab/irisserver/entities/Turn.java @@ -16,7 +16,7 @@ private String team; @JsonProperty("max") - private Integer max; + private int max; private Map> questions = new HashMap<>(); @@ -31,7 +31,7 @@ public void setTeam(String team) {this.team = team;} - public void setMax(Integer max) {this.max = max;} + public void setMax(int max) {this.max = max;} //--------------------------------------------------------- //ゲッター @@ -40,7 +40,7 @@ public String getTeam() {return team;} - public Integer getMax() {return max;} + public int getMax() {return max;} public List getOpenLists() {return openlist;} @@ -55,17 +55,17 @@ public void delieteQuestions(Cell card, Member m){} //Listのキーが分からない状態での削除どうやんの? - public Integer sizeQuestions(){return questions.size();} + public int sizeQuestions(){return questions.size();} //openlist操作 - public Cell getOpenList(Integer num){return openlist.get(num);} + public Cell getOpenList(int num){return openlist.get(num);} public void addOpenList(Cell card){openlist.add(card);} - public void delieteOpenList(Integer num){openlist.remove(num);} + public void delieteOpenList(int num){openlist.remove(num);} - public Integer sizeOpenList(){return openlist.size();} + public int sizeOpenList(){return openlist.size();} }