Skip to content

Commit 3714ce7

Browse files
committed
Prevent NPE #52
1 parent 8aaa3c2 commit 3714ce7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/junichi11/netbeans/modules/github/issues/repository/GitHubRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public Issue getIssue(int id) {
484484
public List<GitHubIssue> getIssues(Map<String, String> filter, boolean isRefresh) {
485485
Repository repository = getRepository();
486486
if (repository == null) {
487-
return null;
487+
return Collections.emptyList();
488488
}
489489
try {
490490
GitHubClient client = createGitHubClient();

0 commit comments

Comments
 (0)