Skip to content

Commit

Permalink
checkstyle: Static variable definition in wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelamo committed Sep 5, 2024
1 parent d19a800 commit 5626007
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,12 @@
*/
public final class SoftServiceLoader<S> implements Iterable<ServiceDefinition<S>> {
public static final String META_INF_SERVICES = "META-INF/services";
private static final MethodHandles.Lookup LOOKUP = MethodHandles.publicLookup();
private static final MethodType VOID_TYPE = MethodType.methodType(void.class);

static final Map<String, SoftServiceLoader.StaticServiceLoader<?>> STATIC_SERVICES =
StaticOptimizations.get(Optimizations.class)
.map(Optimizations::getServiceLoaders)
.orElse(Collections.emptyMap());

private static final MethodHandles.Lookup LOOKUP = MethodHandles.publicLookup();
private static final MethodType VOID_TYPE = MethodType.methodType(void.class);
private final Class<S> serviceType;
private final ClassLoader classLoader;
private Collection<ServiceDefinition<S>> servicesForIterator;
Expand Down

0 comments on commit 5626007

Please sign in to comment.