summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/models/RefModel.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-04-14 19:44:47 -0400
committerJames Moger <james.moger@gitblit.com>2011-04-14 19:44:47 -0400
commit155bf78e3377910d29b2c912f58c0f496cb428e8 (patch)
treebe65a3b6276499c914f3a3f0994dfde9956f4dc9 /src/com/gitblit/wicket/models/RefModel.java
parentfc948cacef9c9b8c0a1e84cbc082ca67cd5f68d9 (diff)
downloadgitblit-155bf78e3377910d29b2c912f58c0f496cb428e8.tar.gz
gitblit-155bf78e3377910d29b2c912f58c0f496cb428e8.zip
Generate Keys class from gitblit.properties as part of build process.
Diffstat (limited to 'src/com/gitblit/wicket/models/RefModel.java')
-rw-r--r--src/com/gitblit/wicket/models/RefModel.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/gitblit/wicket/models/RefModel.java b/src/com/gitblit/wicket/models/RefModel.java
index 0c784340..bb563d52 100644
--- a/src/com/gitblit/wicket/models/RefModel.java
+++ b/src/com/gitblit/wicket/models/RefModel.java
@@ -9,7 +9,6 @@ import org.eclipse.jgit.revwalk.RevCommit;
import com.gitblit.utils.JGitUtils;
-
public class RefModel implements Serializable, Comparable<RefModel> {
private static final long serialVersionUID = 1L;
@@ -34,7 +33,7 @@ public class RefModel implements Serializable, Comparable<RefModel> {
public String getName() {
return ref.getName();
}
-
+
public RevCommit getCommit() {
return commit;
}
@@ -50,12 +49,12 @@ public class RefModel implements Serializable, Comparable<RefModel> {
public ObjectId getObjectId() {
return ref.getObjectId();
}
-
+
public boolean isAnnotatedTag() {
// ref.isPeeled() ??
return !getCommitId().equals(getObjectId());
}
-
+
@Override
public int compareTo(RefModel o) {
return getDate().compareTo(o.getDate());