From 1c8885dd3bbd60964ec0f0d36a75544c8319ab79 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Tue, 10 Dec 2024 20:12:01 +0100 Subject: [PATCH] Move easymock jar to src/test/resource/META-INF/rewrite/classpath --- .../mockito/NoInitializationForInjectMock.java | 4 ++-- .../META-INF/rewrite/classpath/easymock-5.4.0.jar | Bin 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{main => test}/resources/META-INF/rewrite/classpath/easymock-5.4.0.jar (100%) diff --git a/src/main/java/org/openrewrite/java/testing/mockito/NoInitializationForInjectMock.java b/src/main/java/org/openrewrite/java/testing/mockito/NoInitializationForInjectMock.java index ea257535b..0f4bfc292 100644 --- a/src/main/java/org/openrewrite/java/testing/mockito/NoInitializationForInjectMock.java +++ b/src/main/java/org/openrewrite/java/testing/mockito/NoInitializationForInjectMock.java @@ -31,12 +31,12 @@ public class NoInitializationForInjectMock extends Recipe { @Override public String getDisplayName() { - return "Remove initialization when using @InjectMocks"; + return "Remove initialization when using `@InjectMocks`"; } @Override public String getDescription() { - return "Removes unnecessary initialization for fields annotated with @InjectMocks in Mockito tests."; + return "Removes unnecessary initialization for fields annotated with `@InjectMocks` in Mockito tests."; } @Override diff --git a/src/main/resources/META-INF/rewrite/classpath/easymock-5.4.0.jar b/src/test/resources/META-INF/rewrite/classpath/easymock-5.4.0.jar similarity index 100% rename from src/main/resources/META-INF/rewrite/classpath/easymock-5.4.0.jar rename to src/test/resources/META-INF/rewrite/classpath/easymock-5.4.0.jar