RFR: 8302516: Do some cleanup of nsk/share/jdi/EventHandler.java

Leonid Mesnik lmesnik at openjdk.org
Wed Mar 1 21:00:14 UTC 2023


On Wed, 1 Mar 2023 19:48:36 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/share/jdi/EventHandler.java line 336:
>> 
>>> 334:                     defaultExceptionRequest != null &&
>>> 335:                     defaultExceptionRequest.equals(event.request()))
>>> 336:                 {
>> 
>> wrong indentation style
>
> How would you recommend doing it? Is there a style guide that covers this (I can never find it when I need it).

Just as it was before. 
if (event instanceof ExceptionEvent &&
     defaultExceptionRequest != null &&
      defaultExceptionRequest.equals(event.request())) {

-------------

PR: https://git.openjdk.org/jdk/pull/12568


More information about the serviceability-dev mailing list