We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addPermittedSubclass
addSuperinterface
TypeSpec.addPermittedSubclass(Type permittedSubclass) and TypeSpec.addPermittedSubclass(TypeMirro permittedSubclass) incorrectly call TypeSpec.addSuperinterface(... superinterface, boolean avoidNestedTypeNameClashes) instead of TypeSpec.addPermittedSubclass(... superinterface, boolean avoidNestedTypeNameClashes):
TypeSpec.addPermittedSubclass(Type permittedSubclass)
TypeSpec.addPermittedSubclass(TypeMirro permittedSubclass)
TypeSpec.addSuperinterface(... superinterface, boolean avoidNestedTypeNameClashes)
TypeSpec.addPermittedSubclass(... superinterface, boolean avoidNestedTypeNameClashes)
javapoet/javapoet/src/main/java/com/palantir/javapoet/TypeSpec.java
Lines 756 to 758 in 9fb628c
Lines 771 to 773 in 9fb628c
They should call the TypeSpec.addPermittedSubclass(... superinterface, boolean avoidNestedTypeNameClashes).
The text was updated successfully, but these errors were encountered:
Fixes palantir#68
0e87b0d
That looks like a bug! Would you like to PR a fix? (I think you’ve opened a pr, but into your own fork)
Sorry, something went wrong.
Oh yeah, my bad. Fixed the PR.
cf3709a
Successfully merging a pull request may close this issue.
What happened?
TypeSpec.addPermittedSubclass(Type permittedSubclass)
andTypeSpec.addPermittedSubclass(TypeMirro permittedSubclass)
incorrectly callTypeSpec.addSuperinterface(... superinterface, boolean avoidNestedTypeNameClashes)
instead ofTypeSpec.addPermittedSubclass(... superinterface, boolean avoidNestedTypeNameClashes)
:javapoet/javapoet/src/main/java/com/palantir/javapoet/TypeSpec.java
Lines 756 to 758 in 9fb628c
javapoet/javapoet/src/main/java/com/palantir/javapoet/TypeSpec.java
Lines 771 to 773 in 9fb628c
What did you want to happen?
They should call the
TypeSpec.addPermittedSubclass(... superinterface, boolean avoidNestedTypeNameClashes)
.The text was updated successfully, but these errors were encountered: