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] [Commented] (GEOMETRY-109) Rename BoundarySourceXX.from()

    [ https://issues.apache.org/jira/browse/GEOMETRY-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255029#comment-17255029 ] 

Matt Juntunen commented on GEOMETRY-109:
----------------------------------------

Changed in commit 2c84bf3b0e458ed98248b91c60c8d27705488e7c.

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