Skip to content

Commit

Permalink
Fix an NPE
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Stryker <stryker@redhat.com>
  • Loading branch information
Rob Stryker committed Feb 27, 2024
1 parent 15a31cc commit 11daa50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class JavacTypeBinding implements ITypeBinding {
public JavacTypeBinding(final TypeSymbol classSymbol, final JavacBindingResolver resolver) {
this.typeSymbol = classSymbol;
this.resolver = resolver;
this.types = this.resolver.context.get(Types.class);
this.types = Types.instance(this.resolver.context);
}

public JavacTypeBinding(final Type type, final JavacBindingResolver resolver) {
Expand Down

0 comments on commit 11daa50

Please sign in to comment.