OSDN Git Service

不要な分岐を削除
authoryukihane <yukihane.feather@gmail.com>
Mon, 12 Sep 2011 03:21:11 +0000 (12:21 +0900)
committeryukihane <yukihane.feather@gmail.com>
Mon, 12 Sep 2011 03:21:11 +0000 (12:21 +0900)
frontend/src/saccubus/conv/Chat.java

index 5dbcdff..196a4d9 100644 (file)
@@ -203,11 +203,7 @@ public class Chat {
 
        public void setComment(String com_str) {
                logger.log(Level.FINE, "Comment[" + com_str.length() + "]:" + com_str);
-               if (Comment.equals("")) {
-                       Comment += com_str;
-               } else {
-                       Comment += com_str;
-               }
+        Comment += com_str;
        }
 
        public void write(OutputStream os) throws IOException {