File tree 1 file changed +4
-3
lines changed
src/main/java/org/scijava
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,8 @@ public static List<Class<? extends Service>> serviceClassList(
445
445
* @see ClassLoader#getSystemClassLoader()
446
446
*/
447
447
public static ClassLoader getClassLoader () {
448
- final ClassLoader contextCL = Thread .currentThread ().getContextClassLoader ();
448
+ final ClassLoader contextCL = Thread .currentThread ()
449
+ .getContextClassLoader ();
449
450
return contextCL != null ? contextCL : ClassLoader .getSystemClassLoader ();
450
451
}
451
452
@@ -570,8 +571,8 @@ private static PluginIndex plugins(final boolean empty) {
570
571
}
571
572
572
573
private static List <Class <? extends Service >> services (final boolean empty ) {
573
- if (empty ) return Collections .<Class <? extends Service >>emptyList ();
574
- return Arrays .<Class <? extends Service >>asList (Service .class );
574
+ if (empty ) return Collections .<Class <? extends Service >> emptyList ();
575
+ return Arrays .<Class <? extends Service >> asList (Service .class );
575
576
}
576
577
577
578
private static boolean strict () {
You can’t perform that action at this time.
0 commit comments