jdk icon indicating copy to clipboard operation
jdk copied to clipboard

Use lambda expression instead of anonymous inner class

Open wenshao opened this issue 9 months ago • 13 comments

This is a small improvement, no change in logic, just a common programming style change, using Lambda instead of anonymous inline class.

Most of the line changes here are due to indentation, and there are no logical changes.


Progress

  • [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [ ] Commit message must refer to an issue

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/19234/head:pull/19234
$ git checkout pull/19234

Update a local copy of the PR:
$ git checkout pull/19234
$ git pull https://git.openjdk.org/jdk.git pull/19234/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 19234

View PR using the GUI difftool:
$ git pr show -t 19234

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/19234.diff

wenshao avatar May 14 '24 16:05 wenshao