src/com/gitblit/Constants.java
@@ -88,6 +88,8 @@ public static final String ISO8601 = "yyyy-MM-dd'T'HH:mm:ssZ"; public static final String R_GITBLIT = "refs/gitblit/"; public static String getGitBlitVersion() { return NAME + " v" + VERSION; } @@ -405,6 +407,14 @@ return ordinal() <= COOKIE.ordinal(); } } public static enum AccountType { LOCAL, LDAP, REDMINE; public boolean isLocal() { return this == LOCAL; } } @Documented @Retention(RetentionPolicy.RUNTIME)