You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Juntunen (Jira)" <ji...@apache.org> on 2021/07/31 22:25:00 UTC
[jira] [Commented] (GEOMETRY-139) Share code between GeometryInput
and GeometryOutput
[ https://issues.apache.org/jira/browse/GEOMETRY-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391065#comment-17391065 ]
Matt Juntunen commented on GEOMETRY-139:
----------------------------------------
Duplication is also reported by Sonar Cloud: https://sonarcloud.io/project/issues?id=commons-geometry&issues=AXioS5kU1auxhZiRMwW4&open=AXioS5kU1auxhZiRMwW4
> Share code between GeometryInput and GeometryOutput
> ---------------------------------------------------
>
> Key: GEOMETRY-139
> URL: https://issues.apache.org/jira/browse/GEOMETRY-139
> Project: Apache Commons Geometry
> Issue Type: Improvement
> Reporter: Matt Juntunen
> Priority: Major
>
> {{GeometryInput}} and {{GeometryOutput}} both have {{getFileName()}} and {{getCharset()}} methods. These methods should be extracted into a {{GeometryIOMetadata}} interface and corresponding abstract class so that code can be shared.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)