Skip to content

Commit

Permalink
Add potential missing bean class-loader with spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
betzm committed Feb 20, 2024
1 parent e1a7aae commit ae20672
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;

import org.apache.fury.Fury;
import org.apache.fury.codegen.Expression.BaseInvoke;
import org.apache.fury.codegen.Expression.Reference;
Expand Down Expand Up @@ -302,7 +301,7 @@ public String type(Class<?> clz) {
? Thread.currentThread().getContextClassLoader()
: c.getClassLoader();
if (beanClassClassLoader == null) {
beanClassClassLoader = Fury.class.getClassLoader();
beanClassClassLoader = Fury.class.getClassLoader();
}
beanClassClassLoader.loadClass(hasPackage ? pkg + "." + sn : sn);
return Boolean.TRUE;
Expand Down

0 comments on commit ae20672

Please sign in to comment.