Gilles Sadowski created GEOMETRY-64:
---------------------------------------
Summary: Reference to subclass' field
Key: GEOMETRY-64
URL: https://issues.apache.org/jira/browse/GEOMETRY-64
Project: Apache Commons Geometry
Issue Type: Bug
Components: Euclidean 1D, Euclidean 2D, Euclidean 3D
Reporter: Gilles Sadowski
During its initialization, class {{Vector1D}} accesses fields in subclass
{{Unit}} which might not have been initialized yet.
Same issue for {{Vector2D}} and {{Vector3D}}.
The named constants for the unit vectors should only be defined in the {{Unit}}
class.
Bug reported by [SonarQube|https://sonarcloud.io/dashboard?id=commons-geometry].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)