We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67c5f01 commit f4ab228Copy full SHA for f4ab228
src/main/java/org/jboss/tools/intellij/componentanalysis/CAIntentionAction.java
@@ -115,7 +115,7 @@ public boolean startInWriteAction() {
115
}
116
117
private static boolean thereIsTcRemediation(DependencyReport dependency) {
118
- Optional<Issue> issue = dependency.getIssues().stream().filter(iss -> iss.getRemediation().getTrustedContent() != null).findFirst();
+ Optional<Issue> issue = dependency.getIssues().stream().filter(iss -> iss.getRemediation() != null && iss.getRemediation().getTrustedContent() != null).findFirst();
119
if(issue.isPresent()) {
120
return issue.get().getRemediation().getTrustedContent() != null;
121
0 commit comments