On Mon, 7 Feb 2022 08:18:23 GMT, Manukumar V S <[email protected]> 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

Reply via email to