mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-110849 INFO - lij.tasks.impl.TaskManagerImpl - Argument 0 for @NotNull parameter of com/intellij/util/containers/ContainerUtil.map must not be null
This commit is contained in:
@@ -153,7 +153,9 @@ public class MantisRepository extends BaseRepositoryImpl {
|
||||
@NotNull
|
||||
@Override
|
||||
public Comment[] getComments() {
|
||||
final List<Comment> comments = ContainerUtil.map(data.getNotes(), new Function<IssueNoteData, Comment>() {
|
||||
IssueNoteData[] notes = data.getNotes();
|
||||
if (notes == null) return Comment.EMPTY_ARRAY;
|
||||
final List<Comment> comments = ContainerUtil.map(notes, new Function<IssueNoteData, Comment>() {
|
||||
@Override
|
||||
public Comment fun(final IssueNoteData data) {
|
||||
return new Comment() {
|
||||
|
||||
Reference in New Issue
Block a user