You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Matt Juntunen <ma...@hotmail.com> on 2020/12/17 02:47:59 UTC

[geometry] Rename BoundarySource factory methods

Hi all,

I opened GEOMETRY-109 to rename the BoundarySource2D and BoundarySource3D "from()" static factory methods to "of()" to be more in line with the JDK's similar Stream.of() method. I also think it better reflects the performed operation since no processing is performed on the input. It's a small change but it would be a breaking change in the public API (still in beta) so I'd like to make sure that everyone is on board with it.

Regards,
Matt J

Re: [geometry] Rename BoundarySource factory methods

Posted by Gilles Sadowski <gi...@gmail.com>.
Le jeu. 17 déc. 2020 à 03:48, Matt Juntunen
<ma...@hotmail.com> a écrit :
>
> Hi all,
>
> I opened GEOMETRY-109 to rename the BoundarySource2D and BoundarySource3D "from()" static factory methods to "of()" to be more in line with the JDK's similar Stream.of() method. I also think it better reflects the performed operation since no processing is performed on the input.

+1

> It's a small change but it would be a breaking change in the public API (still in beta) so I'd like to make sure that everyone is on board with it.

Thanks,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org