Skip to content

Commit de926c0

Browse files
authored
Make code less verbose (#88)
1 parent 79d41de commit de926c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ public String val() {
5757
protected JUnitConfig initialValue() {
5858
final ClassLoader original = Thread.currentThread().getContextClassLoader();
5959
try {
60-
final ClassLoader specific = LifecycleHooks.class.getClassLoader();
61-
Thread.currentThread().setContextClassLoader(specific);
60+
Thread.currentThread().setContextClassLoader(LifecycleHooks.class.getClassLoader());
6261
return new JUnitConfig();
6362
} catch (ConfigurationException | IOException e) {
6463
throw UncheckedThrow.throwUnchecked(e);

0 commit comments

Comments
 (0)