diff options
author | James Moger <james.moger@gitblit.com> | 2014-04-25 23:52:30 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-05-01 14:27:28 -0400 |
commit | ce048e750f7ae986dddfc8ab9b57750114d2b7b9 (patch) | |
tree | 05c085d9fdfaf00109a31fd98ef12f41012b2357 /src/main/java/com/gitblit/tickets/TicketLabel.java | |
parent | 16ef06d210bec7dd5b44d82f70d9f7bb9e4dbf6f (diff) | |
download | gitblit-ce048e750f7ae986dddfc8ab9b57750114d2b7b9.tar.gz gitblit-ce048e750f7ae986dddfc8ab9b57750114d2b7b9.zip |
Create and update milestone pages with rename support
Diffstat (limited to 'src/main/java/com/gitblit/tickets/TicketLabel.java')
-rw-r--r-- | src/main/java/com/gitblit/tickets/TicketLabel.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/tickets/TicketLabel.java b/src/main/java/com/gitblit/tickets/TicketLabel.java index 686ce88b..a7f0ebec 100644 --- a/src/main/java/com/gitblit/tickets/TicketLabel.java +++ b/src/main/java/com/gitblit/tickets/TicketLabel.java @@ -30,14 +30,17 @@ public class TicketLabel implements Serializable { private static final long serialVersionUID = 1L; - public final String name; + public String name; public String color; public List<QueryResult> tickets; - public TicketLabel(String name) { + setName(name); + } + + public void setName(String name) { this.name = name; this.color = StringUtils.getColor(name); } |