From 30f9d25d77ccb5cd978d4cf8fa389ec819e90e95 Mon Sep 17 00:00:00 2001 From: Philip L. McMahon <philip.l.mcmahon@gmail.com> Date: Fri, 27 Jan 2012 02:02:19 -0500 Subject: [PATCH] Correct update of HEAD symbolic reference when target is a tag. --- src/com/gitblit/models/GitNote.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/com/gitblit/models/GitNote.java b/src/com/gitblit/models/GitNote.java index 0083637..c333a88 100644 --- a/src/com/gitblit/models/GitNote.java +++ b/src/com/gitblit/models/GitNote.java @@ -17,12 +17,20 @@ import java.io.Serializable; +/** + * GitNote is a serializable model class that represents a git note. This class + * retains an instance of the RefModel which contains the commit in which this + * git note was created. + * + * @author James Moger + * + */ public class GitNote implements Serializable { private static final long serialVersionUID = 1L; - public String content; - public RefModel notesRef; + public final String content; + public final RefModel notesRef; public GitNote(RefModel notesRef, String text) { this.notesRef = notesRef; -- Gitblit v1.9.1