File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 7
7
import java .io .Serializable ;
8
8
import java .lang .reflect .Method ;
9
9
import java .util .Collection ;
10
- import java .util .Collections ;
11
- import java .util .HashSet ;
12
10
import java .util .Locale ;
13
- import java .util .Set ;
14
11
import java .util .function .BiFunction ;
15
12
import java .util .function .Function ;
16
13
@@ -49,12 +46,6 @@ public ByteBuddyProxyHelper(ByteBuddyState byteBuddyState) {
49
46
public Class buildProxy (
50
47
final Class <?> persistentClass ,
51
48
final Class <?>[] interfaces ) {
52
- Set <Class <?>> key = new HashSet <>();
53
- if ( interfaces .length == 1 ) {
54
- key .add ( persistentClass );
55
- }
56
- Collections .addAll ( key , interfaces );
57
-
58
49
final String proxyClassName = persistentClass .getTypeName () + "$" + PROXY_NAMING_SUFFIX ;
59
50
return byteBuddyState .loadProxy ( persistentClass , proxyClassName ,
60
51
proxyBuilder ( TypeDescription .ForLoadedType .of ( persistentClass ), new TypeList .Generic .ForLoadedTypes ( interfaces ) ) );
You can’t perform that action at this time.
0 commit comments