This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch 261.x
in repository https://gitbox.apache.org/repos/asf/struts-intellij-plugin.git

commit 1a77ca8f984fd7c2a8ae65f1e450c0fac35f8542
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sat Mar 28 13:35:12 2026 +0100

    fix: remove deprecated CompletionType.CLASS_NAME registration
    
    CompletionType.CLASS_NAME is deprecated (marked for removal).
    The BASIC completion type already covers class name completion.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 .../ognl/completion/OgnlJavaClassCompletionContributor.java  | 12 ------------
 1 file changed, 12 deletions(-)

diff --git 
a/src/main/java/com/intellij/lang/ognl/completion/OgnlJavaClassCompletionContributor.java
 
b/src/main/java/com/intellij/lang/ognl/completion/OgnlJavaClassCompletionContributor.java
index 8f8a761..90d3197 100644
--- 
a/src/main/java/com/intellij/lang/ognl/completion/OgnlJavaClassCompletionContributor.java
+++ 
b/src/main/java/com/intellij/lang/ognl/completion/OgnlJavaClassCompletionContributor.java
@@ -58,18 +58,6 @@ public class OgnlJavaClassCompletionContributor extends 
CompletionContributor im
                addJavaClassNameCompletions(parameters, result);
              }
            });
-
-    // Also provide completion for CLASS_NAME completion type (triggered by 
Ctrl+Space)
-    extend(CompletionType.CLASS_NAME,
-           FQN_TYPE_EXPRESSION,
-           new CompletionProvider<>() {
-             @Override
-             protected void addCompletions(@NotNull CompletionParameters 
parameters,
-                                           @NotNull ProcessingContext context,
-                                           @NotNull CompletionResultSet 
result) {
-               addJavaClassNameCompletions(parameters, result);
-             }
-           });
   }
 
   private static void addJavaClassNameCompletions(@NotNull 
CompletionParameters parameters,

Reply via email to