mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 00:11:22 +00:00
Fixed a test regression
Presumably due to the behaviour change on GitHub API?
This commit is contained in:
@@ -129,7 +129,7 @@ public class GHIssue {
|
||||
return Enum.valueOf(GHIssueState.class, state.toUpperCase(Locale.ENGLISH));
|
||||
}
|
||||
|
||||
public Collection<Label> getLabels() {
|
||||
public Collection<Label> getLabels() throws IOException {
|
||||
if(labels == null){
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user