コード例 #1
0
 public String getCreationLog() {
   if (!hasCreationLog()) {
     return null;
   }
   StringBuilder builder = new StringBuilder();
   for (Message message : messages.getAll()) {
     builder.append(message.getText());
   }
   return builder.toString();
 }
コード例 #2
0
 public boolean hasCreationLog() {
   return messages.hasMessages();
 }