[ 
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)

Reply via email to