diff --git a/src/main/java/com/ntlab/irisserver/entities/Room.java b/src/main/java/com/ntlab/irisserver/entities/Room.java index cb69384..9724813 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Room.java +++ b/src/main/java/com/ntlab/irisserver/entities/Room.java @@ -87,7 +87,7 @@ } //変更対象がマスターであればマスター不在に修正 - if(m.isMaster() == true){ + if(m.isMaster()){ m.setMaster(false); @@ -99,8 +99,8 @@ } } - //マスターに変更 - if(isMaster == true){ + //マスターに変更する処理 + if(isMaster){ //マスターを変更 if(belongs.equals("r")) {