Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f7ef505

Browse filesBrowse files
authored
Use https in example GitHub Enterprise URL in Javadocs
I just spent a few hours banging my head against some mysterious errors that were resolved by using an https-based URL instead of an http one. I had copied from the Javadocs example URL and replaced the domain name, and did not notice that it started with `http:`. Use `https:` in the example instead, as that is more likely what people want.
1 parent 319e943 commit f7ef505
Copy full SHA for f7ef505

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/main/java/org/kohsuke/github/GitHubBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GitHubBuilder.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public static GitHubBuilder fromProperties(Properties props) {
243243
*
244244
* @param endpoint
245245
* The URL of GitHub (or GitHub enterprise) API endpoint, such as "https://api.github.com" or
246-
* "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code>/api/v3</code> in the URL. For
246+
* "https://ghe.acme.com/api/v3". Note that GitHub Enterprise has <code>/api/v3</code> in the URL. For
247247
* historical reasons, this parameter still accepts the bare domain name, but that's considered
248248
* deprecated.
249249
* @return the git hub builder

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.