Skip to content

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

Merged
owen-mc merged 4 commits intogithub:mainfrom
Marcono1234:patch-1
Mar 4, 2024
Merged

Mention needed imports at top of "Analyzing data flow in Java"#13692
owen-mc merged 4 commits intogithub:mainfrom
Marcono1234:patch-1

Conversation

@Marcono1234
Copy link
Copy Markdown
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
Copy Markdown
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.

Copy link
Copy Markdown
Contributor

@owen-mc owen-mc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a sensible suggestion.

@owen-mc owen-mc merged commit 331f308 into github:main Mar 4, 2024
@Marcono1234 Marcono1234 deleted the patch-1 branch March 5, 2024 21:38
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.

3 participants