Skip to content

Commit 69ec630

Browse files
committed
Remove unnecessary class references on static method calls
1 parent 8ff8aa1 commit 69ec630

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/nordstrom/automation/junit/LifecycleHooks.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ public static class CreateTest {
206206
* @throws Exception if something goes wrong
207207
*/
208208
public static Object intercept(@This Object runner, @SuperCall Callable<?> proxy) throws Exception {
209-
Object testObj = LifecycleHooks.installHooks(proxy.call());
210-
INSTANCE_TO_CLASS.put(testObj, LifecycleHooks.invoke(runner, "getTestClass"));
211-
LifecycleHooks.applyTimeout(testObj);
209+
Object testObj = installHooks(proxy.call());
210+
INSTANCE_TO_CLASS.put(testObj, invoke(runner, "getTestClass"));
211+
applyTimeout(testObj);
212212

213213
for (TestObjectWatcher watcher : objectWatcherLoader) {
214214
watcher.testObjectCreated(testObj, INSTANCE_TO_CLASS.get(testObj));

0 commit comments

Comments
 (0)