mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 08:21:23 +00:00
fixed indent, rename to getLastestRelease
This commit is contained in:
@@ -299,9 +299,9 @@ public class GHRepository extends GHObject {
|
||||
return listReleases().asList();
|
||||
}
|
||||
|
||||
public GHRelease latestRelease() throws IOException {
|
||||
public GHRelease getLatestRelease() throws IOException {
|
||||
return root.retrieve().to(getApiTailUrl("releases/latest"), GHRelease.class).wrap(this);
|
||||
}
|
||||
}
|
||||
|
||||
public PagedIterable<GHRelease> listReleases() throws IOException {
|
||||
return new PagedIterable<GHRelease>() {
|
||||
|
||||
Reference in New Issue
Block a user