Skip to content

Commit

Permalink
HHH-14732 ProxyDefinitionHelpers are immutable and can be declared st…
Browse files Browse the repository at this point in the history
…atic
  • Loading branch information
Sanne committed Jul 16, 2021
1 parent 0768663 commit 6608d03
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -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;

Expand Down Expand Up @@ -87,8 +87,6 @@ public final class ByteBuddyState {
else {
this.classRewriter = new StandardClassRewriter();
}

this.proxyDefinitionHelpers = new ProxyDefinitionHelpers();
}

/**
Expand Down

0 comments on commit 6608d03

Please sign in to comment.