Re: [1/2] ant git commit: Deprecate CollectionUtils and Enumerations; reduce explicit use of Enumeration

2018-05-18 Thread Stefan Bodewig
On 2018-05-18, Gintautas Grigelionis wrote: > I believe that Streams API can at least implement the logic run by an > original Enumeration in a more concise way, or provide more powerful idioms. > That IMO makes it worth the while to investigate the Streams alternatives. I agree to do that as

Re: [1/2] ant git commit: Deprecate CollectionUtils and Enumerations; reduce explicit use of Enumeration

2018-05-18 Thread Johan Corveleyn
On Fri, May 18, 2018 at 10:07 AM, Gintautas Grigelionis wrote: > I accepted the original criticism that going Enumeration -> List -> Stream > has an overhead and I tried to address that by using a decorator. > I believe that Streams API can at least implement the logic

Re: [1/2] ant git commit: Deprecate CollectionUtils and Enumerations; reduce explicit use of Enumeration

2018-05-18 Thread Gintautas Grigelionis
I accepted the original criticism that going Enumeration -> List -> Stream has an overhead and I tried to address that by using a decorator. I believe that Streams API can at least implement the logic run by an original Enumeration in a more concise way, or provide more powerful idioms. That IMO

Re: [1/2] ant git commit: Deprecate CollectionUtils and Enumerations; reduce explicit use of Enumeration

2018-05-18 Thread Jaikiran Pai
If your objection is that I claimed that these qualify as "most of the cases" - I really don't know what else to say then. The original commit which did this change is this[1]. I haven't reviewed it fully, but the very first few changes that are done are these [2] [3] [4] [5][6]. Of course,