diff --git a/CHANGES.md b/CHANGES.md index 6f08e059..551fecc1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ Check also [MIGRATION.md](MIGRATION.md) for possible compatibility problems. ### 0.6.2 +* [#17] Optimized: `StreamEx.ofTree`, `EntryStream.ofTree`. * [#104] Added: `StreamEx.ofReversed()`. * [#105] Added: `MoreCollectors.minMax()`. diff --git a/src/test/java/one/util/streamex/StreamExTest.java b/src/test/java/one/util/streamex/StreamExTest.java index c409bb99..820a9467 100644 --- a/src/test/java/one/util/streamex/StreamExTest.java +++ b/src/test/java/one/util/streamex/StreamExTest.java @@ -1046,8 +1046,8 @@ public void testOfTreeClose() { () -> { if (!cn.title.equals("childA")) throw new InternalError(cn.title); - })).parallel()) { - test.accept(closableTree); + }))) { + test.accept(closableTree.parallel()); } catch(InternalError ex) { catched = true;