Skip to content

Commit

Permalink
fix: @implSpec is not enabled by default in Java 8 javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Oct 23, 2023
1 parent 07deffc commit 1ff3d56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions src/main/java/net/imglib2/IterableInterval.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <p>
* 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
Expand All @@ -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
* <p>
* 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
Expand Down
12 changes: 4 additions & 8 deletions src/main/java/net/imglib2/IterableRealInterval.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <p>
* The default implementation creates a sequential {@code Stream} from the
* interval's {@link #spliterator()}.
*/
Expand All @@ -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
* <p>
* The default implementation creates a parallel {@code Stream} from the
* interval's {@link #spliterator()}.
*/
Expand All @@ -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
* <p>
* 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
Expand All @@ -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
* <p>
* 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
Expand Down

0 comments on commit 1ff3d56

Please sign in to comment.