From 1ff3d56cf29d6fefc975526a4df947deaacabe9e Mon Sep 17 00:00:00 2001 From: tpietzsch Date: Mon, 23 Oct 2023 11:07:17 +0200 Subject: [PATCH] fix: @implSpec is not enabled by default in Java 8 javadoc --- src/main/java/net/imglib2/IterableInterval.java | 6 ++---- src/main/java/net/imglib2/IterableRealInterval.java | 12 ++++-------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/main/java/net/imglib2/IterableInterval.java b/src/main/java/net/imglib2/IterableInterval.java index 848464a41..b82590e88 100644 --- a/src/main/java/net/imglib2/IterableInterval.java +++ b/src/main/java/net/imglib2/IterableInterval.java @@ -69,8 +69,7 @@ public interface IterableInterval< T > extends IterableRealInterval< T >, Interv * IterableInterval}. The returned {@code Spliterator} iterates with optimal * speed without calculating the location at each iteration step. * Localization is performed on demand. - * - * @implSpec + *

* The default implementation wraps a {@code Cursor} on the interval. The * created {@code Spliterator} reports {@link Spliterator#SIZED}, {@link * Spliterator#SUBSIZED}, {@link Spliterator#ORDERED} and {@link @@ -87,8 +86,7 @@ default LocalizableSpliterator< T > spliterator() * IterableInterval}. The returned {@code Spliterator} calculates its * location at each iteration step. That is, localization is performed with * optimal speed. - * - * @implSpec + *

* The default implementation wraps a {@link #localizingCursor() localizing} * {@code Cursor} on the interval. The created {@code Spliterator} reports * {@link Spliterator#SIZED}, {@link Spliterator#SUBSIZED}, {@link diff --git a/src/main/java/net/imglib2/IterableRealInterval.java b/src/main/java/net/imglib2/IterableRealInterval.java index d9c258184..d5a377607 100644 --- a/src/main/java/net/imglib2/IterableRealInterval.java +++ b/src/main/java/net/imglib2/IterableRealInterval.java @@ -147,8 +147,7 @@ default java.util.Iterator< T > iterator() // TODO: fix places where it is not n * Note that the returned {@code Stream} gives access only to the values * of the elements, not their locations. To obtain a {@code Stream} that * includes locations, see {@link Streams#localizable}. - * - * @implSpec + *

* The default implementation creates a sequential {@code Stream} from the * interval's {@link #spliterator()}. */ @@ -164,8 +163,7 @@ default Stream< T > stream() * Note that the returned {@code Stream} gives access only to the values * of the elements, not their locations. To obtain a {@code Stream} that * includes locations, see {@link Streams#localizable}. - * - * @implSpec + *

* The default implementation creates a parallel {@code Stream} from the * interval's {@link #spliterator()}. */ @@ -179,8 +177,7 @@ default Stream< T > parallelStream() * {@code IterableRealInterval}. The returned {@code Spliterator} iterates * with optimal speed without calculating the location at each iteration * step. Localization is performed on demand. - * - * @implSpec + *

* The default implementation wraps a {@code RealCursor} on the interval. * The created {@code Spliterator} reports {@link Spliterator#SIZED}, {@link * Spliterator#SUBSIZED}, {@link Spliterator#ORDERED} and {@link @@ -197,8 +194,7 @@ default RealLocalizableSpliterator< T > spliterator() * {@code IterableRealInterval}. The returned {@code Spliterator} calculates * its location at each iteration step. That is, localization is performed * with optimal speed. - * - * @implSpec + *

* The default implementation wraps a {@link #localizingCursor() localizing} * {@code RealCursor} on the interval. The created {@code Spliterator} * reports {@link Spliterator#SIZED}, {@link Spliterator#SUBSIZED}, {@link