Skip to content

Commit

Permalink
Simplify Target_ServiceLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit committed Apr 15, 2020
1 parent 3fdbd12 commit bf92d7b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;

import java.util.function.BooleanSupplier;

import static com.hazelcast.internal.util.Preconditions.isNotNull;

@Substitute
@TargetClass(className = "com.hazelcast.internal.util.ServiceLoader", innerClass = "ServiceDefinition")
@TargetClass(value = ServiceLoader.class, innerClass = "ServiceDefinition")
final class Target_ServiceDefinition {
private final String className;
private final ClassLoader classLoader;
Expand Down

0 comments on commit bf92d7b

Please sign in to comment.