/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/ChestBean.java |
Parent Directory | Revision Log | Patch
revision 1869 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 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |