HHH-14732 ProxyDefinitionHelpers are immutable and can be declared static
This commit is contained in:
parent
0768663895
commit
6608d03bfc
|
@ -58,7 +58,7 @@ public final class ByteBuddyState {
|
||||||
|
|
||||||
private final ByteBuddy byteBuddy;
|
private final ByteBuddy byteBuddy;
|
||||||
|
|
||||||
private final ProxyDefinitionHelpers proxyDefinitionHelpers;
|
private static final ProxyDefinitionHelpers proxyDefinitionHelpers = new ProxyDefinitionHelpers();
|
||||||
|
|
||||||
private final ClassRewriter classRewriter;
|
private final ClassRewriter classRewriter;
|
||||||
|
|
||||||
|
@ -87,8 +87,6 @@ public final class ByteBuddyState {
|
||||||
else {
|
else {
|
||||||
this.classRewriter = new StandardClassRewriter();
|
this.classRewriter = new StandardClassRewriter();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.proxyDefinitionHelpers = new ProxyDefinitionHelpers();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue