summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/Constants.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/gitblit/Constants.java')
-rw-r--r--src/com/gitblit/Constants.java32
1 files changed, 12 insertions, 20 deletions
diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index 4f6fe3a1..b6741820 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -17,25 +17,25 @@ package com.gitblit;
public class Constants {
- public final static String NAME = "Gitblit";
-
- public final static String FULL_NAME = "Gitblit - a pure Java Git solution";
+ public static final String NAME = "Gitblit";
+
+ public static final String FULL_NAME = "Gitblit - a pure Java Git solution";
// 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 final static String VERSION = "0.1.0-SNAPSHOT";
+ // and only use A-Z a-z 0-9 .-_ in the string.
+ public static final String VERSION = "0.1.0-SNAPSHOT";
// 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 final static String JGIT_VERSION = "JGit 0.12.1";
+ public static final String JGIT_VERSION = "JGit 0.12.1";
+
+ public static final String ADMIN_ROLE = "#admin";
+
+ public static final String PROPERTIES_FILE = "gitblit.properties";
- public final static String ADMIN_ROLE = "#admin";
+ public static final String GIT_SERVLET_PATH = "/git/";
- public final static String PROPERTIES_FILE = "gitblit.properties";
-
- public final static String GIT_SERVLET_PATH = "/git/";
-
- public final static String ZIP_SERVLET_PATH = "/zip/";
+ public static final String ZIP_SERVLET_PATH = "/zip/";
public static enum AccessRestrictionType {
NONE, PUSH, CLONE, VIEW;
@@ -65,12 +65,4 @@ public class Constants {
public static String getGitBlitVersion() {
return NAME + " v" + VERSION;
}
-
- public static String getJGitVersion() {
- return JGIT_VERSION;
- }
-
- public static String getRunningVersion() {
- return getGitBlitVersion();
- }
}