diff options
author | James Moger <james.moger@gitblit.com> | 2011-07-22 09:37:14 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-07-22 09:37:14 -0400 |
commit | 88598bb2f779b73479512d818c675dea8fa72138 (patch) | |
tree | 77e1a8e89da1faa3444f03aefa8a201f77010e9e /src/com/gitblit/GitBlitServer.java | |
parent | 0d3e3ca5b85d7e81066030a5081ea3a9cbe76607 (diff) | |
download | gitblit-88598bb2f779b73479512d818c675dea8fa72138.tar.gz gitblit-88598bb2f779b73479512d818c675dea8fa72138.zip |
Documentation. Unit testing. Checkstyle. Findbugs.
Diffstat (limited to 'src/com/gitblit/GitBlitServer.java')
-rw-r--r-- | src/com/gitblit/GitBlitServer.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/com/gitblit/GitBlitServer.java b/src/com/gitblit/GitBlitServer.java index 92305fc7..2caaaf64 100644 --- a/src/com/gitblit/GitBlitServer.java +++ b/src/com/gitblit/GitBlitServer.java @@ -176,7 +176,7 @@ public class GitBlitServer { }
if (params.securePort < 1024 && !isWindows()) {
logger.warn("Gitblit needs to run with ROOT permissions for ports < 1024!");
- }
+ }
connectors.add(secureConnector);
} else {
logger.warn("Failed to find or load Keystore?");
@@ -315,7 +315,7 @@ public class GitBlitServer { connector.setMaxIdleTime(30000);
return connector;
}
-
+
/**
* Tests to see if the operating system is Windows.
*
@@ -376,6 +376,9 @@ public class GitBlitServer { }
}
+ /**
+ * JCommander Parameters class for GitBlitServer.
+ */
@Parameters(separators = " ")
private static class Params {
|