HHH-14732 ProxyDefinitionHelpers are immutable and can be declared static

This commit is contained in:
Sanne Grinovero 2021-06-25 18:19:43 +01:00 committed by Sanne Grinovero
parent 0768663895
commit 6608d03bfc
1 changed files with 1 additions and 3 deletions

View File

@ -58,7 +58,7 @@ public final class ByteBuddyState {
private final ByteBuddy byteBuddy;
private final ProxyDefinitionHelpers proxyDefinitionHelpers;
private static final ProxyDefinitionHelpers proxyDefinitionHelpers = new ProxyDefinitionHelpers();
private final ClassRewriter classRewriter;
@ -87,8 +87,6 @@ public final class ByteBuddyState {
else {
this.classRewriter = new StandardClassRewriter();
}
this.proxyDefinitionHelpers = new ProxyDefinitionHelpers();
}
/**