Trivial fix to move the screencast token storage file from
`~/.awt/robot/screencast-tokens.properties` to
`~/.java/robot/screencast-tokens.properties`, where it should be.
Old location is still valid and will only be used if there is a file in the old
location and the new location does not have it.
Along with the fix `@SuppressWarnings("removal")` is moved to individual items
as it was done in [JFX](https://github.com/openjdk/jfx/pull/1490).
-------------
Commit messages:
- convert to lambdas
- initial
Changes: https://git.openjdk.org/jdk/pull/20234/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20234&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8335267
Stats: 40 lines in 1 file changed: 13 ins; 8 del; 19 mod
Patch: https://git.openjdk.org/jdk/pull/20234.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20234/head:pull/20234
PR: https://git.openjdk.org/jdk/pull/20234