From 2179fb76bbbd2021c350a7c28d6901389ed50b2b Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 26 Sep 2011 17:48:53 -0400 Subject: [PATCH] Fixed broken urls for WAR builds. --- src/com/gitblit/models/RefModel.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/models/RefModel.java b/src/com/gitblit/models/RefModel.java index 0b65c09..fab5fc1 100644 --- a/src/com/gitblit/models/RefModel.java +++ b/src/com/gitblit/models/RefModel.java @@ -25,6 +25,13 @@ import org.eclipse.jgit.revwalk.RevObject; import org.eclipse.jgit.revwalk.RevTag; +/** + * RefModel is a serializable model class that represents a tag or branch and + * includes the referenced object. + * + * @author James Moger + * + */ public class RefModel implements Serializable, Comparable<RefModel> { private static final long serialVersionUID = 1L; @@ -127,7 +134,7 @@ public int compareTo(RefModel o) { return getDate().compareTo(o.getDate()); } - + @Override public String toString() { return displayName; -- Gitblit v1.9.1