You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Greg Albiston (Jira)" <ji...@apache.org> on 2020/01/20 23:00:03 UTC

[jira] [Resolved] (JENA-1818) Bug: CustomCoordinateSequence::setOrdinate missing break statements

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

Greg Albiston resolved JENA-1818.
---------------------------------
    Fix Version/s: Jena 3.15.0
       Resolution: Fixed

Break statements added.

> Bug: CustomCoordinateSequence::setOrdinate missing break statements
> -------------------------------------------------------------------
>
>                 Key: JENA-1818
>                 URL: https://issues.apache.org/jira/browse/JENA-1818
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Spatial
>    Affects Versions: Jena 3.13.1
>            Reporter: Philipp Neuschwander
>            Assignee: Greg Albiston
>            Priority: Major
>             Fix For: Jena 3.15.0
>
>
> https://github.com/apache/jena/blob/master/jena-geosparql/src/main/java/org/apache/jena/geosparql/implementation/jts/CustomCoordinateSequence.java#L441
>  
> There should be "break" statements in that switch.
> Currently there is a fallthrough manipulating other axis' values leading to data corruption.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)