Skip to content

Commit df8016f

Browse files
committed
pr fix
1 parent 0823cda commit df8016f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/cdi/ManagedBeanDiagnosticsCollector.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
import static io.openliberty.tools.intellij.lsp4jakarta.lsp4ij.JDTUtils.getSimpleName;
2929
import static io.openliberty.tools.intellij.lsp4jakarta.lsp4ij.cdi.ManagedBeanConstants.*;
30-
import static org.eclipse.lsp4jakarta.jdt.internal.cdi.Constants.INVALID_INITIALIZER_PARAMS_FQ;
3130

3231
public class ManagedBeanDiagnosticsCollector extends AbstractDiagnosticsCollector {
3332

@@ -336,7 +335,7 @@ private void invalidParamsCheck(PsiJavaFile unit, List<Diagnostic> diagnostics,
336335
invalidAnnotations.add("@" + getSimpleName(annotation));
337336
}
338337
paramScopesSet = new LinkedHashSet<>(paramScopes);
339-
if (paramScopesSet.size() == INVALID_INITIALIZER_PARAMS_FQ.length && paramScopesSet.equals(Set.of(INVALID_INITIALIZER_PARAMS_FQ))) {
338+
if (paramScopesSet.size() == INVALID_INJECT_PARAMS_FQ.length && paramScopesSet.equals(Set.of(INVALID_INJECT_PARAMS_FQ))) {
340339
mutuallyExclusive = true;
341340
}
342341
}

src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/cdi/RemoveInvalidDisposerConflictParamAnnotationQuickFix.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Contributors:
1111
* IBM Corporation - initial API and implementation
1212
*******************************************************************************/
13+
1314
package io.openliberty.tools.intellij.lsp4jakarta.lsp4ij.cdi;
1415

1516
import io.openliberty.tools.intellij.lsp4jakarta.lsp4ij.codeAction.proposal.quickfix.RemoveParamAnnotationQuickFix;

src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/cdi/RemoveInvalidDisposerParamAnnotationQuickFix.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Contributors:
1111
* IBM Corporation - initial API and implementation
1212
*******************************************************************************/
13+
1314
package io.openliberty.tools.intellij.lsp4jakarta.lsp4ij.cdi;
1415

1516
import io.openliberty.tools.intellij.lsp4jakarta.lsp4ij.codeAction.proposal.quickfix.RemoveParamAnnotationQuickFix;

0 commit comments

Comments
 (0)