Fix annotation position and clarify javadoc

This commit is contained in:
Ian Baker 2024-08-20 13:41:50 +01:00
parent f9f3e67ee2
commit 41430aaa0c

View file

@ -39,7 +39,7 @@ public final class InitializationChunk extends Chunk {
private final ChunkExtractor chunkExtractor;
private @MonotonicNonNull TrackOutputProvider trackOutputProvider;
private @Nullable ChunkIndex chunkIndex;
@Nullable private ChunkIndex chunkIndex;
private long nextLoadPosition;
private volatile boolean loadCanceled;
@ -114,8 +114,8 @@ public final class InitializationChunk extends Chunk {
}
/**
* Returns the {@link ChunkIndex} most recently obtained from the initialization chunk in the
* most recent {@link #load()}, or null if a {@link ChunkIndex} has not been obtained.
* Returns the {@link ChunkIndex} obtained from the initialization chunk, or null if a {@link
* ChunkIndex} has not been obtained.
*/
@Nullable
public ChunkIndex getChunkIndex() {