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 1954a9f

Browse filesBrowse files
committed
This isn't just about API URL but it also checks the valid credential
1 parent 3b764f9 commit 1954a9f
Copy full SHA for 1954a9f

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GitHub.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,10 @@ void check(String apiUrl) throws IOException {
477477
}
478478

479479
/**
480-
* Ensures that the API URL is valid.
480+
* Tests the connection.
481+
*
482+
* <p>
483+
* Verify that the API URL and credentials are valid to access this GitHub.
481484
*
482485
* <p>
483486
* This method returns normally if the endpoint is reachable and verified to be GitHub API URL.

0 commit comments

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