RFR: 7903932: Make private static classes final and have a private constructor
Nizar Benalla
nbenalla at openjdk.org
Fri Jan 17 08:07:59 UTC 2025
Please review this patch to make static utility classes final with a private constructor, as they are not meant to be extended.
This is a small refractor of the generated code.
TIA
-------------
Commit messages:
- fix whitespace errors and add blank line
- make private utility classes final with a private constructor
Changes: https://git.openjdk.org/jextract/pull/274/files
Webrev: https://webrevs.openjdk.org/?repo=jextract&pr=274&range=00
Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903932
Stats: 12 lines in 1 file changed: 9 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jextract/pull/274.diff
Fetch: git fetch https://git.openjdk.org/jextract.git pull/274/head:pull/274
PR: https://git.openjdk.org/jextract/pull/274
More information about the jextract-dev
mailing list