Sitelet https://web.archive.org/web/20230714180913/https://github.com/github/codeql/pull/13692
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

Mention needed imports at top of "Analyzing data flow in Java" #13692

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Marcono1234
Copy link
Contributor

@Marcono1234 Marcono1234 commented Jul 8, 2023 •

Currently the guide just starts using the classes from these libraries without having mentioned that you have to import the libraries first.

This is rather inconvenient and I always end up scrolling down somewhere to the examples where the needed imports are used.

Any feedback is appreciated, especially regarding wording or position of this information in the document.

The guides for the other languages might benefit from this change as well, please let me know if I should change it there as well, though I am not familiar with the needed imports there. Or feel free to perform these changes yourself and push them onto the branch of this pull request.

Currently the guide just starts using the classes from these libraries
without having mentioned that you have to import the libraries first.
@smowton
Copy link
Contributor

smowton commented Jul 12, 2023

Suggest moving these imports just inside the "Using local data flow" and "Using local taint tracking" sections. Seems reasonable to note the required import up front though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants