Fixed a test regression

Presumably due to the behaviour change on GitHub API?
This commit is contained in:
Kohsuke Kawaguchi
2014-10-08 12:07:09 -07:00
parent ebf39eaea1
commit 372d5ff758
2 changed files with 17 additions and 3 deletions

View File

@@ -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;
}