From 10177fb0a59cc9fc61fb78c724f7b0816b69b798 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sat, 01 Oct 2011 15:50:22 -0400
Subject: [PATCH] CSS fixes for palette buttons

---
 src/com/gitblit/models/RefModel.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/com/gitblit/models/RefModel.java b/src/com/gitblit/models/RefModel.java
index 39bf19c..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,4 +134,9 @@
 	public int compareTo(RefModel o) {
 		return getDate().compareTo(o.getDate());
 	}
+
+	@Override
+	public String toString() {
+		return displayName;
+	}
 }
\ No newline at end of file

--
Gitblit v1.9.1