File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -349,14 +349,14 @@ public GHUser getOwner() throws IOException {
349
349
/**
350
350
* Gets issue.
351
351
*
352
- * @param id
353
- * the id
352
+ * @param number
353
+ * the number of the issue
354
354
* @return the issue
355
355
* @throws IOException
356
356
* the io exception
357
357
*/
358
- public GHIssue getIssue (int id ) throws IOException {
359
- return root ().createRequest ().withUrlPath (getApiTailUrl ("issues/" + id )).fetch (GHIssue .class ).wrap (this );
358
+ public GHIssue getIssue (int number ) throws IOException {
359
+ return root ().createRequest ().withUrlPath (getApiTailUrl ("issues/" + number )).fetch (GHIssue .class ).wrap (this );
360
360
}
361
361
362
362
/**
@@ -1500,14 +1500,17 @@ public GHRepository forkTo(GHOrganization org) throws IOException {
1500
1500
/**
1501
1501
* Retrieves a specified pull request.
1502
1502
*
1503
- * @param i
1504
- * the
1503
+ * @param number
1504
+ * the number of the pull request
1505
1505
* @return the pull request
1506
1506
* @throws IOException
1507
1507
* the io exception
1508
1508
*/
1509
- public GHPullRequest getPullRequest (int i ) throws IOException {
1510
- return root ().createRequest ().withUrlPath (getApiTailUrl ("pulls/" + i )).fetch (GHPullRequest .class ).wrapUp (this );
1509
+ public GHPullRequest getPullRequest (int number ) throws IOException {
1510
+ return root ().createRequest ()
1511
+ .withUrlPath (getApiTailUrl ("pulls/" + number ))
1512
+ .fetch (GHPullRequest .class )
1513
+ .wrapUp (this );
1511
1514
}
1512
1515
1513
1516
/**
You can’t perform that action at this time.
0 commit comments