Skip to content

Commit

Permalink
Fix #321
Browse files Browse the repository at this point in the history
  • Loading branch information
angelozerr committed Sep 15, 2015
1 parent 027eb2b commit d19bf95
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -398,7 +399,10 @@ public void setTernModules(ITernModule[] modules) {
}

public Collection<ITernModule> getCheckedModules() {
return checkedModules;
if (checkedModules != null) {
return checkedModules;
}
return Collections.emptyList();
}

public void setCheckedModules(Collection<ITernModule> checkedModules) {
Expand Down

0 comments on commit d19bf95

Please sign in to comment.