RFR: StateObjectHandler.validateState(): fix typo and optimize
Sergey Ponomarev
github.com+415502+stokito at openjdk.java.net
Thu Oct 22 10:27:20 UTC 2020
Last commit contains extract of two methods from duplicated code that IntelliJ found. Not sure if this change has any value for you so I can revert it
-------------
Commit messages:
- StateObjectHandler.validateState(): extract methods from duplicated lines
- StateObjectHandler.validateState(): early break for default constructor
- StateObjectHandler.validateState(): fix typo
Changes: https://git.openjdk.java.net/jmh/pull/7/files
Webrev: https://webrevs.openjdk.java.net/?repo=jmh&pr=7&range=00
Stats: 77 lines in 1 file changed: 29 ins; 41 del; 7 mod
Patch: https://git.openjdk.java.net/jmh/pull/7.diff
Fetch: git fetch https://git.openjdk.java.net/jmh pull/7/head:pull/7
PR: https://git.openjdk.java.net/jmh/pull/7
More information about the jmh-dev
mailing list