Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit 6282db3

Browse files
committed
Don't need explicit overrides for newArray(int) default methods anymore
- desugar bug has been fixed in AS 3 beta 2
1 parent 08a280d commit 6282db3

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/main/java/java9/util/stream/Nodes.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -902,12 +902,6 @@ static final class OfInt
902902
public Spliterator.OfInt spliterator() {
903903
return new InternalNodeSpliterator.OfInt(this);
904904
}
905-
906-
// @Override
907-
// public int[] newArray(int count) {
908-
// // desugar bug
909-
// return java9.util.stream.Node.OfInt.super.newArray(count);
910-
// }
911905
}
912906

913907
static final class OfLong
@@ -922,12 +916,6 @@ static final class OfLong
922916
public Spliterator.OfLong spliterator() {
923917
return new InternalNodeSpliterator.OfLong(this);
924918
}
925-
926-
// @Override
927-
// public long[] newArray(int count) {
928-
// // desugar bug
929-
// return java9.util.stream.Node.OfLong.super.newArray(count);
930-
// }
931919
}
932920

933921
static final class OfDouble
@@ -942,12 +930,6 @@ static final class OfDouble
942930
public Spliterator.OfDouble spliterator() {
943931
return new InternalNodeSpliterator.OfDouble(this);
944932
}
945-
946-
// @Override
947-
// public double[] newArray(int count) {
948-
// // desugar bug
949-
// return java9.util.stream.Node.OfDouble.super.newArray(count);
950-
// }
951933
}
952934
}
953935

0 commit comments

Comments
 (0)