From 622165ab3f0f5ae3f1c51ccae1175e0e15ca92b6 Mon Sep 17 00:00:00 2001 From: vladhanzha Date: Tue, 23 Apr 2019 16:23:56 +0300 Subject: [PATCH] (#1082) Replace forbidden API calls --- pom.xml | 3 +- .../collection/BehavesAsCollection.java | 69 +++++++--- .../collection/CollectionEnvelopeTest.java | 61 +++++---- .../cactoos/collection/CollectionOfTest.java | 40 +++--- .../org/cactoos/collection/FilteredTest.java | 58 ++++---- .../org/cactoos/collection/HeadOfTest.java | 25 ++-- .../org/cactoos/collection/JoinedTest.java | 56 ++++---- .../org/cactoos/collection/MappedTest.java | 37 +++--- .../org/cactoos/collection/ReversedTest.java | 125 +++++++++++------- .../org/cactoos/collection/ShuffledTest.java | 34 ++--- .../org/cactoos/collection/SkippedTest.java | 76 ++++++----- .../org/cactoos/collection/SolidTest.java | 47 ++++--- .../org/cactoos/collection/SortedTest.java | 33 +++-- .../org/cactoos/collection/StickyTest.java | 92 +++++++------ .../org/cactoos/collection/SyncedTest.java | 22 +-- .../org/cactoos/collection/TailOfTest.java | 23 ++-- 16 files changed, 458 insertions(+), 343 deletions(-) diff --git a/pom.xml b/pom.xml index b76871b3ae..17f4bf203e 100644 --- a/pom.xml +++ b/pom.xml @@ -160,7 +160,7 @@ The MIT License (MIT) ./src/test/resources/forbidden-apis.txt