diff --git a/src/main/java/org/scijava/Context.java b/src/main/java/org/scijava/Context.java index 638230db1..e4d2bda14 100644 --- a/src/main/java/org/scijava/Context.java +++ b/src/main/java/org/scijava/Context.java @@ -445,7 +445,8 @@ public static List> serviceClassList( * @see ClassLoader#getSystemClassLoader() */ public static ClassLoader getClassLoader() { - final ClassLoader contextCL = Thread.currentThread().getContextClassLoader(); + final ClassLoader contextCL = Thread.currentThread() + .getContextClassLoader(); return contextCL != null ? contextCL : ClassLoader.getSystemClassLoader(); } @@ -570,8 +571,8 @@ private static PluginIndex plugins(final boolean empty) { } private static List> services(final boolean empty) { - if (empty) return Collections.>emptyList(); - return Arrays.>asList(Service.class); + if (empty) return Collections.> emptyList(); + return Arrays.> asList(Service.class); } private static boolean strict() {