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 2020/12/26 13:04:00 UTC

[jira] [Resolved] (GEOMETRY-109) Rename BoundarySourceXX.from()

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

Matt Juntunen resolved GEOMETRY-109.
------------------------------------
    Resolution: Done

> Rename BoundarySourceXX.from()
> ------------------------------
>
>                 Key: GEOMETRY-109
>                 URL: https://issues.apache.org/jira/browse/GEOMETRY-109
>             Project: Apache Commons Geometry
>          Issue Type: Improvement
>            Reporter: Matt Juntunen
>            Priority: Minor
>
> The {{BoundarySource2D}} and {{BoundarySource3D}} interfaces have static factory methods named {{from()}} that accept boundaries as varargs and collections. These methods should be renamed to {{of()}} to better match the similar {{Stream.of()}} method from the JDK and to indicate that no processing is performed on the inputs.



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