Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Null-safe compare for ticket milestones without due date #1278
When using Gitblit's Ticket system it is possible to create milestones without a due date. Doing so can result in a NullPointerException when (re)loading the tickets page, due to the not null-save TicketsMilestone comparator.
This pull request makes the comparator null-safe and orders milestones without a due date last.