[ 
https://issues.apache.org/jira/browse/GEOMETRY-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gilles Sadowski resolved GEOMETRY-64.
-------------------------------------
    Resolution: Fixed

Commit c07711d6a63d7bbeb4d71599d27b23321cc3605c ("master" branch).

> 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
>            Priority: Major
>
> 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)

Reply via email to