Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
12.3
-
None
-
None
Description
In this record declaration, for example:
private static record MATH_METHOD(
Method method, Class<?> result, Class<?>[] parameters) {}
creates the NetBeans Hints message:
The array is only read from, never written to
This is inappropriate for any declaration, as this is a just a declaration of a parameter to what is an implicit constructor.