Re: [GitHub] [roller] mbien opened a new pull request #96: Deprections, compiler warning fixes, local refactorings and JDK 17 support

2021-07-11 Thread Michael Bien
Hi Greg, those are java 8 functional streams* - not IO streams. So they don't really have to be closed, the method collect() "runs" the stream in this example by putting all results into a list. There are no system resources involved which would have to be freed. this code snipped creates a

[GitHub] [roller] mbien opened a new pull request #97: EscapeSourceCodePlugin

2021-07-11 Thread GitBox
mbien opened a new pull request #97: URL: https://github.com/apache/roller/pull/97 Simple weblog entry plugin which can be used to escape angle brackets from text within pre tags. It understands the common pattern of pre and code tag in succession which is used by javascript source

Re: [GitHub] [roller] mbien opened a new pull request #96: Deprections, compiler warning fixes, local refactorings and JDK 17 support

2021-07-11 Thread Michael Bien
no worries. I remember the first time i heard of java getting streams my first thought was io too. Streams are great as long you don't overuse them. -michael On 11.07.21 10:09, Greg Huber wrote: Sorry you are right, was thinking more of io streams, rather than java.util.Collection.stream.