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 5f85bc512215afa299adeba444e433557e1161ae
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sat Mar 28 13:34:30 2026 +0100

    fix: use non-deprecated DaemonCodeAnalyzer.restart() with reason parameter
---
 .../com/intellij/struts2/annotators/StrutsFileSetCheckingAnnotator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/com/intellij/struts2/annotators/StrutsFileSetCheckingAnnotator.java
 
b/src/main/java/com/intellij/struts2/annotators/StrutsFileSetCheckingAnnotator.java
index eb811c5..ecd6626 100644
--- 
a/src/main/java/com/intellij/struts2/annotators/StrutsFileSetCheckingAnnotator.java
+++ 
b/src/main/java/com/intellij/struts2/annotators/StrutsFileSetCheckingAnnotator.java
@@ -187,7 +187,7 @@ public class StrutsFileSetCheckingAnnotator implements 
Annotator {
                             selectedValue.addFile(file.getVirtualFile());
 
                             // re-highlight (remove annotation)
-                            
DaemonCodeAnalyzer.getInstance(project).restart(file);
+                            
DaemonCodeAnalyzer.getInstance(project).restart(file, "Struts file set 
changed");
 
                             return super.onChosen(selectedValue, finalChoice);
                         }

Reply via email to