-
Notifications
You must be signed in to change notification settings - Fork 78
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
CODETOOLS-7903302: cleanup code #118
CODETOOLS-7903302: cleanup code #118
Conversation
👋 Welcome back jjg! A progress list of the required criteria for merging this PR into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like that several instances of @SuppressWarnings have been removed/resolved.
@jonathan-gibbons this pull request can not be integrated into git checkout jtreg.7903302.code-cleanup
git fetch https://git.openjdk.org/jtreg master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
@jonathan-gibbons This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Yes, mostly because JT Harness was updated to use generic types, meaning that we could get rid of raw types. |
/integrate |
Going to push as commit f081a45. |
@jonathan-gibbons Pushed as commit f081a45. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Please review a medium-sized update to clean up the jtreg code.
Most of the changes were performed directly by the IDE. Many of the changes are very local (same line) but some affect surrounding lines when the code was reformatted ... for example, when using lambdas, or try with resources.
The most "risky" change was converting
Arrays.asList
, which permitsnull
, toList.of
, which does not. This was fixed up manually in a few places, most notable inModuleConfig
. In all places,null
was easily changed to an empty string""
.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jtreg pull/118/head:pull/118
$ git checkout pull/118
Update a local copy of the PR:
$ git checkout pull/118
$ git pull https://git.openjdk.org/jtreg pull/118/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 118
View PR using the GUI difftool:
$ git pr show -t 118
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jtreg/pull/118.diff