Skip to content

Commit ed02286

Browse files
committed
Javadoc: Use an HTTPS URL
1 parent 97404d9 commit ed02286

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/org/apache/commons/cli/HelpFormatter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
4444
* options.addOption(OptionBuilder.withLongOpt("help").create('h'));
4545
*
4646
* String header = "Do something useful with an input file\n\n";
47-
* String footer = "\nPlease report issues at http://example.com/issues";
47+
* String footer = "\nPlease report issues at https://example.com/issues";
4848
*
4949
* HelpFormatter formatter = new HelpFormatter();
5050
* formatter.printHelp("myapp", header, options, footer, true);
@@ -60,7 +60,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
6060
* -h,--help
6161
* -v,--version Print the version of the application
6262
*
63-
* Please report issues at http://example.com/issues
63+
* Please report issues at https://example.com/issues
6464
* </pre>
6565
*/
6666
public class HelpFormatter {

src/main/java/org/apache/commons/cli/OptionBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
2121
* OptionBuilder allows the user to create Options using descriptive methods.
2222
* <p>
2323
* Details on the Builder pattern can be found at
24-
* <a href="http://c2.com/cgi-bin/wiki?BuilderPattern">http://c2.com/cgi-bin/wiki?BuilderPattern</a>.
24+
* <a href="https://c2.com/cgi-bin/wiki?BuilderPattern">https://c2.com/cgi-bin/wiki?BuilderPattern</a>.
2525
* <p>
2626
* This class is NOT thread safe. See <a href="https://issues.apache.org/jira/browse/CLI-209">CLI-209</a>
2727
*

src/test/java/org/apache/commons/cli/bug/BugCLI162Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public void testPrintHelpLongLines() {
212212
+ OPT
213213
+ OPT_USER
214214
+ " option. You can obfuscate the password with org.mortbay.jetty.security.Password,"
215-
+ " see http://docs.codehaus.org/display/JETTY/Securing+Passwords");
215+
+ " see https://docs.codehaus.org/display/JETTY/Securing+Passwords");
216216
//@formatter:on
217217
commandLineOptions.addOption(OPT_SQL, OPT_SQL_L, true, "Runs SQL or {call stored_procedure(?, ?)} or {?=call function(?, ?)}");
218218
commandLineOptions.addOption(OPT_FILE_SFMD, "sfmd", true, "Writes a SFMD file for the given SQL");
@@ -360,7 +360,7 @@ public void testPrintHelpLongLines() {
360360
" with the -u option. You can obfuscate the" + CR +
361361
" password with" + CR +
362362
" org.mortbay.jetty.security.Password, see" + CR +
363-
" http://docs.codehaus.org/display/JETTY/Securi" + CR +
363+
" https://docs.codehaus.org/display/JETTY/Securi" + CR +
364364
" ng+Passwords" + CR +
365365
" -s,--sql <arg> Runs SQL or {call stored_procedure(?, ?)} or" + CR +
366366
" {?=call function(?, ?)}" + CR +

0 commit comments

Comments
 (0)