예제 #1
0
파일: Comment.java 프로젝트: Geneuae/ModReq
 public boolean equalsComment(Comment c) {
   if (c.getCommenter().equals(commenter)) {
     if (c.getComment().equals(comment)) {
       if (c.getDate().equals(date)) {
         return true;
       }
     }
   }
   return false;
 }
예제 #2
0
 @Override
 public Void visitComment(ByteCodeNode parent, Comment node) {
   printLine();
   printLine("// %s", node.getComment());
   return null;
 }