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

doc: Improve javadoc for CtTypeInformation and CtCodeElement#partiallyEvaluate #5331

Merged
merged 12 commits into from
Jul 21, 2023

Conversation

Luro02
Copy link
Contributor

@Luro02 Luro02 commented Jul 7, 2023

No description provided.

@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Jul 7, 2023

🛠 Lift Auto-fix

Some of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1

# Download the patch
curl https://lift.sonatype.com/api/patch/github.com/INRIA/spoon/5331.diff -o lift-autofixes.diff

# Apply the patch with git
git apply lift-autofixes.diff

# Review the changes
git diff

Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command:

curl https://lift.sonatype.com/api/patch/github.com/INRIA/spoon/5331.diff | git apply

Once you're satisfied, commit and push your changes in your project.

Footnotes

  1. You can preview the patch by opening the patch URL in the browser.

Comment on lines +52 to +62
* <pre>
* if (a) {
* doA();
* } else {
* if (b) {
* doB();
* } else {
* doC();
* }
* }
* </pre>
Copy link
Collaborator

Choose a reason for hiding this comment

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

More of an FYI before snippets, but I think most people use
<pre>{@code ...}</pre> as their pattern (also called out in the snippet JEP: https://openjdk.org/jeps/413)

@I-Al-Istannen I-Al-Istannen merged commit 8ec4e38 into INRIA:master Jul 21, 2023
@I-Al-Istannen
Copy link
Collaborator

Thanks :)

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

Successfully merging this pull request may close these issues.

3 participants