From ed21d23885c2f112e5c5650e9436870b1ac99392 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 05 Jul 2011 17:32:45 -0400 Subject: [PATCH] Documentation. Added JavaDoc. Clarified repository access restriction. --- src/com/gitblit/Constants.java | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index b874a7b..08ffb9b 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -15,6 +15,12 @@ */ package com.gitblit; +/** + * Constant values used by Gitblit. + * + * @author James Moger + * + */ public class Constants { public static final String NAME = "Gitblit"; @@ -23,11 +29,15 @@ // The build script extracts this exact line so be careful editing it // and only use A-Z a-z 0-9 .-_ in the string. - public static final String VERSION = "0.1.0-SNAPSHOT"; + public static final String VERSION = "0.5.1"; // The build script extracts this exact line so be careful editing it // and only use A-Z a-z 0-9 .-_ in the string. - public static final String JGIT_VERSION = "JGit 0.12.1"; + public static final String VERSION_DATE = "2011-06-28"; + + // The build script extracts this exact line so be careful editing it + // and only use A-Z a-z 0-9 .-_ in the string. + public static final String JGIT_VERSION = "JGit 1.0.0 (201106090707-r)"; public static final String ADMIN_ROLE = "#admin"; @@ -36,9 +46,9 @@ public static final String GIT_PATH = "/git/"; public static final String ZIP_PATH = "/zip/"; - + public static final String SYNDICATION_PATH = "/feed/"; - + public static final String BORDER = "***********************************************************"; public static enum AccessRestrictionType { -- Gitblit v1.9.1