File was renamed from src/main/java/com/gitblit/models/PushLogEntry.java |
| | |
| | | *
|
| | | * @author James Moger
|
| | | */
|
| | | public class PushLogEntry implements Serializable, Comparable<PushLogEntry> {
|
| | | public class RefLogEntry implements Serializable, Comparable<RefLogEntry> {
|
| | |
|
| | | private static final long serialVersionUID = 1L;
|
| | |
|
| | |
| | | * @param user
|
| | | * the user who pushed
|
| | | */
|
| | | public PushLogEntry(String repository, Date date, UserModel user) {
|
| | | public RefLogEntry(String repository, Date date, UserModel user) {
|
| | | this.repository = repository;
|
| | | this.date = date;
|
| | | this.user = user;
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public int compareTo(PushLogEntry o) {
|
| | | public int compareTo(RefLogEntry o) {
|
| | | // reverse chronological order
|
| | | return o.date.compareTo(date);
|
| | | }
|