Skip to content

Commit 535afa2

Browse files
committed
Bugfix ArrayList8.mapAndCollect()
1 parent b64e63b commit 535afa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/CodingUtils/ArrayList8.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
.
1616
. The ArrayList8 Class was Coded by : Alexandre BOLOT
1717
.
18-
. Last Modified : 16/03/18 14:59
18+
. Last Modified : 16/03/18 15:19
1919
.
2020
. Contact : [email protected]
2121
...............................................................................................................................*/
@@ -159,7 +159,7 @@ public <R> Stream<R> map (@NotNull Function<? super E, ? extends R> mapper)
159159

160160
public <R> ArrayList8<R> mapAndCollect (@NotNull Function<? super E, ? extends R> mapper)
161161
{
162-
return this.stream().map(mapper).collect(Collectors.toCollection(ArrayList8::new));
162+
return this.stream().map(mapper).collect(Collectors.toCollection(ArrayList8<R>::new));
163163
}
164164
//endregion
165165
}

0 commit comments

Comments
 (0)