File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1025,15 +1025,15 @@ public Set<String> getCollaboratorNames(CollaboratorAffiliation affiliation) thr
10251025 /**
10261026 * Checks if the given user is a collaborator for this repository.
10271027 *
1028- * @param u
1029- * the u
1030- * @return the boolean
1028+ * @param user
1029+ * a {@link GHUser}
1030+ * @return true if the user is a collaborator for this repository
10311031 * @throws IOException
10321032 * the io exception
10331033 */
1034- public boolean isCollaborator (GHUser u ) throws IOException {
1034+ public boolean isCollaborator (GHUser user ) throws IOException {
10351035 return root ().createRequest ()
1036- .withUrlPath (getApiTailUrl ("collaborators/" + u .getLogin ()))
1036+ .withUrlPath (getApiTailUrl ("collaborators/" + user .getLogin ()))
10371037 .fetchHttpStatusCode () == 204 ;
10381038 }
10391039
You can’t perform that action at this time.
0 commit comments