From af616086ea24fbc07bc8a2be785494e9b03a3a9f Mon Sep 17 00:00:00 2001 From: zhislin Date: Sun, 29 Dec 2024 00:02:14 +0800 Subject: [PATCH] fix auto import: what tested: 1. pitest run 2. pitest history 3. pitest report rendering 4. annotation generated 5. annotation lib import 6. config change for annotation lib location 7. config change for new fields in annotation --- .../commands/unittestannotations/GenerateAnnotationCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/jaksonlin/pitestintellij/commands/unittestannotations/GenerateAnnotationCommand.java b/src/main/java/com/github/jaksonlin/pitestintellij/commands/unittestannotations/GenerateAnnotationCommand.java index 84b7203..98af348 100644 --- a/src/main/java/com/github/jaksonlin/pitestintellij/commands/unittestannotations/GenerateAnnotationCommand.java +++ b/src/main/java/com/github/jaksonlin/pitestintellij/commands/unittestannotations/GenerateAnnotationCommand.java @@ -43,7 +43,7 @@ public class GenerateAnnotationCommand extends UnittestCaseCheckCommand { public GenerateAnnotationCommand(Project project, CaseCheckContext context) { super(project, context); this.psiElementFactory = JavaPsiFacade.getInstance(project).getElementFactory(); - this.configService = ServiceManager.getService(project, AnnotationConfigService.class); + this.configService = ServiceManager.getService(AnnotationConfigService.class); this.valueProviderService = ServiceManager.getService(project, ValueProviderService.class); }