Move a few static helpers to GitHubClient

This commit is contained in:
Liam Newman
2020-02-12 23:47:44 -08:00
parent 326c627221
commit ff3136df70
51 changed files with 153 additions and 141 deletions

View File

@@ -257,7 +257,7 @@ public class GHRepository extends GHObject {
}
public URL getHtmlUrl() {
return GitHub.parseURL(html_url);
return GitHubClient.parseURL(html_url);
}
/**
@@ -696,7 +696,7 @@ public class GHRepository extends GHObject {
* @return null if the repository was never pushed at.
*/
public Date getPushedAt() {
return GitHub.parseDate(pushed_at);
return GitHubClient.parseDate(pushed_at);
}
/**