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/MakeCertificate.java | |
parent | 0d3e3ca5b85d7e81066030a5081ea3a9cbe76607 (diff) | |
download | gitblit-88598bb2f779b73479512d818c675dea8fa72138.tar.gz gitblit-88598bb2f779b73479512d818c675dea8fa72138.zip |
Documentation. Unit testing. Checkstyle. Findbugs.
Diffstat (limited to 'src/com/gitblit/MakeCertificate.java')
-rw-r--r-- | src/com/gitblit/MakeCertificate.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/gitblit/MakeCertificate.java b/src/com/gitblit/MakeCertificate.java index 894f7a84..f2fc7300 100644 --- a/src/com/gitblit/MakeCertificate.java +++ b/src/com/gitblit/MakeCertificate.java @@ -47,7 +47,7 @@ import com.gitblit.utils.TimeUtils; * Utility class to generate self-signed certificates.
*
* @author James Moger
- *
+ *
*/
public class MakeCertificate {
@@ -63,7 +63,8 @@ public class MakeCertificate { jc.usage();
}
File keystore = new File("keystore");
- generateSelfSignedCertificate(params.hostname, keystore, params.storePassword, params.subject);
+ generateSelfSignedCertificate(params.hostname, keystore, params.storePassword,
+ params.subject);
}
public static void generateSelfSignedCertificate(String hostname, File keystore,
@@ -159,6 +160,9 @@ public class MakeCertificate { }
}
+ /**
+ * JCommander Parameters class for MakeCertificate.
+ */
@Parameters(separators = " ")
private static class Params {
|