Skip to content
New issue

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

Fix java import wild card #7672

Merged
merged 6 commits into from Nov 29, 2022
Merged

Conversation

enum-class
Copy link
Contributor

According to issue #7666 , we emit wildcard imports for java, which are generally a bad idea and can trigger linters. We should be explicit in what we include and need.

@github-actions github-actions bot added c++ codegen Involving generating code from schema java labels Nov 27, 2022
@enum-class
Copy link
Contributor Author

@dbaileychess could you help me with review this p.r. ?

dbaileychess
dbaileychess previously approved these changes Nov 28, 2022
src/idl_gen_java.cpp Outdated Show resolved Hide resolved
@dbaileychess dbaileychess merged commit 533f75d into google:master Nov 29, 2022
@dbaileychess
Copy link
Collaborator

Thanks!

@enum-class enum-class deleted the java_import_wildcard branch December 4, 2022 00:24
sunwen18 pushed a commit to sunwen18/flatbuffers that referenced this pull request Dec 25, 2022
* Fix java import wild card

* fix java include

* Fix some import problems

* clang-format

* Sort imports

Co-authored-by: Derek Bailey <derekbailey@google.com>
candhyan pushed a commit to mediaz/flatbuffers that referenced this pull request Jan 2, 2023
* Fix java import wild card

* fix java include

* Fix some import problems

* clang-format

* Sort imports

Co-authored-by: Derek Bailey <derekbailey@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema java
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants