You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(java-auto-test): use read action to ensure thread safety
The commit refactors the `JavaAutoTestService` to use `runReadAction` for accessing `PsiFile` and `ProjectFileIndex`, ensuring that these operations are performed in a read-only context and are thread-safe. This change addresses an issue where concurrent modifications to the file system or project structure could lead to inconsistent results when reading `PsiFile` and `ProjectFileIndex` data.
0 commit comments