Skip to content

Commit d9bf3e5

Browse files
committed
Removed unused method parameter
See gh-28901
1 parent 4a23d92 commit d9bf3e5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spring-core-test/src/main/java/org/springframework/aot/test/generator/compile/CompileWithTargetClassAccessExtension.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,14 @@ private void runTestWithModifiedClassPath(
119119
testClass.getClassLoader());
120120
Thread.currentThread().setContextClassLoader(forkedClassPathClassLoader);
121121
try {
122-
runTest(forkedClassPathClassLoader, testClass, testMethod);
122+
runTest(testClass, testMethod);
123123
}
124124
finally {
125125
Thread.currentThread().setContextClassLoader(originalClassLoader);
126126
}
127127
}
128128

129-
private void runTest(ClassLoader classLoader, Class<?> testClass, Method testMethod)
130-
throws Throwable {
131-
129+
private void runTest(Class<?> testClass, Method testMethod) throws Throwable {
132130
LauncherDiscoveryRequest request = LauncherDiscoveryRequestBuilder.request()
133131
.selectors(selectMethod(getFullyQualifiedMethodName(testClass, testMethod)))
134132
.filters(includeEngines("junit-jupiter"))

0 commit comments

Comments
 (0)