-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
24 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ | |
* @author Eric Maupin | ||
* @author Kohsuke Kawaguchi | ||
*/ | ||
public class GHIssue { | ||
public class GHIssue extends GHObject { | ||
GitHub root; | ||
GHRepository owner; | ||
|
||
|
@@ -51,11 +51,9 @@ public class GHIssue { | |
protected String body; | ||
protected List<Label> labels; | ||
protected GHUser user; | ||
protected String title, created_at, html_url; | ||
protected String title, html_url; | ||
protected GHIssue.PullRequest pull_request; | ||
protected GHMilestone milestone; | ||
protected String url, updated_at; | ||
protected int id; | ||
protected GHUser closed_by; | ||
|
||
public static class Label { | ||
|
@@ -117,7 +115,7 @@ public int getNumber() { | |
* The HTML page of this issue, | ||
* like https://github.com/jenkinsci/jenkins/issues/100 | ||
*/ | ||
public URL getUrl() { | ||
public URL getHtmlUrl() { | ||
This comment has been minimized.
Sorry, something went wrong.
KostyaSha
Contributor
|
||
return GitHub.parseURL(html_url); | ||
} | ||
|
||
|
@@ -136,14 +134,6 @@ public Collection<Label> getLabels() throws IOException { | |
return Collections.unmodifiableList(labels); | ||
} | ||
|
||
public Date getCreatedAt() { | ||
return GitHub.parseDate(created_at); | ||
} | ||
|
||
public Date getUpdatedAt() { | ||
return GitHub.parseDate(updated_at); | ||
} | ||
|
||
public Date getClosedAt() { | ||
return GitHub.parseDate(closed_at); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#378