File was renamed from src/com/gitblit/wicket/models/TicGitTicket.java |
| | |
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | public class TicGitTicket implements Serializable, Comparable<TicGitTicket> {
|
| | | public class TicketModel implements Serializable, Comparable<TicketModel> {
|
| | |
|
| | | private static final long serialVersionUID = 1L;
|
| | |
|
| | |
| | | public List<Comment> comments;
|
| | | public List<String> tags;
|
| | |
|
| | | public TicGitTicket() {
|
| | | public TicketModel() {
|
| | | state = "open";
|
| | | comments = new ArrayList<Comment>();
|
| | | tags = new ArrayList<String>();
|
| | | }
|
| | |
|
| | | public TicGitTicket(String ticketName) throws ParseException {
|
| | | public TicketModel(String ticketName) throws ParseException {
|
| | | state = "";
|
| | | name = ticketName;
|
| | | comments = new ArrayList<Comment>();
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public int compareTo(TicGitTicket o) {
|
| | | public int compareTo(TicketModel o) {
|
| | | return date.compareTo(o.date);
|
| | | }
|
| | | }
|