RFR: 8281296: Create a regression test for JDK-4515999
Alexey Ivanov
aivanov at openjdk.java.net
Mon Feb 7 13:51:04 UTC 2022
On Mon, 7 Feb 2022 08:18:23 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> Create a regression test for [JDK-4515999](https://bugs.openjdk.java.net/browse/JDK-4515999)
> Create a test which checks whether incrementing dates via the keyboard (up/down) gives the same results as when using mouse press on the arrow buttons in a JSpinner.
test/jdk/javax/swing/JSpinner/4515999/JSpinnerMouseAndKeyPressTest.java line 89:
> 87: (spinnerButtonWidth / 2);
> 88: spinnerUpButtonCenter.y = spinnerLocationOnScreen.y +
> 89: spinnerQuarterHeight;
The [Java Style Guidelines](http://cr.openjdk.java.net/~alundblad/styleguide/index-v6.html#toc-wrapping-lines) suggests breaking before the operators.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7363
More information about the client-libs-dev
mailing list