Skip to content

Commit 8b7da51

Browse files
getAllInsights must not return null #240
1 parent f48a3b8 commit 8b7da51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ide-common/src/main/java/org/digma/intellij/plugin/document/DocumentInfoContainer.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ public class DocumentInfoContainer {
3535

3636
private final AnalyticsService analyticsService;
3737
private DocumentInfo documentInfo;
38-
private List<CodeObjectInsight> insights;
38+
39+
@NotNull
40+
private List<CodeObjectInsight> insights = new ArrayList<>();
3941
private UsageStatusResult usageStatus = EmptyUsageStatusResult;
4042
private UsageStatusResult usageStatusOfErrors = EmptyUsageStatusResult;
4143

0 commit comments

Comments
 (0)