/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/ChestBean.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/ChestBean.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1870 by torben, Tue Nov 6 16:49:06 2012 UTC revision 1871 by torben, Thu Nov 8 19:47:51 2012 UTC
# Line 111  public class ChestBean { Line 111  public class ChestBean {
111                  return comment;                  return comment;
112          }          }
113          public void setComment(String comment) {          public void setComment(String comment) {
114                  this.comment = comment;                  this.comment = comment.trim();
115            }
116    
117            public String getCommentString() {
118                    if (this.comment == null || this.comment.length() == 0)
119                            return "";
120    
121                    return " (Comment: " + this.comment + ")";
122          }          }
123                    
124  }  }

Legend:
Removed from v.1870  
changed lines
  Added in v.1871

  ViewVC Help
Powered by ViewVC 1.1.20