mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 08:21:23 +00:00
Move a few static helpers to GitHubClient
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user