From c19ae5c6d45085528dae8c94a2eb737e06c335ce Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sun, 22 May 2011 13:04:11 -0400
Subject: [PATCH] Documentation.
---
src/com/gitblit/wicket/models/RepositoryModel.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/com/gitblit/wicket/models/RepositoryModel.java b/src/com/gitblit/wicket/models/RepositoryModel.java
index 43a7ac1..2aabfb1 100644
--- a/src/com/gitblit/wicket/models/RepositoryModel.java
+++ b/src/com/gitblit/wicket/models/RepositoryModel.java
@@ -17,9 +17,14 @@
public boolean useTickets;
public boolean useDocs;
public AccessRestrictionType accessRestriction;
+ public boolean isFrozen;
public RepositoryModel() {
-
+ this.name = "";
+ this.description = "";
+ this.owner = "";
+ this.lastChange = new Date(0);
+ this.accessRestriction = AccessRestrictionType.NONE;
}
public RepositoryModel(String name, String description, String owner, Date lastchange) {
@@ -27,5 +32,6 @@
this.description = description;
this.owner = owner;
this.lastChange = lastchange;
+ this.accessRestriction = AccessRestrictionType.NONE;
}
}
\ No newline at end of file
--
Gitblit v1.9.1