diff options
| author | Ben Culkin <scorpress@gmail.com> | 2022-09-16 18:58:48 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2022-09-16 18:58:48 -0400 |
| commit | a3d2728f84375566da3da560b3faad018d34005d (patch) | |
| tree | d50829207b8b4418c11d6385f49386259bb2cc8a /base/src/main/java/bjc/utils/ioutils/blocks | |
| parent | 6186f1d87c5e170fa89aa327001706b0692526fc (diff) | |
Cleanup
Diffstat (limited to 'base/src/main/java/bjc/utils/ioutils/blocks')
| -rw-r--r-- | base/src/main/java/bjc/utils/ioutils/blocks/SerialBlockReader.java | 2 | ||||
| -rw-r--r-- | base/src/main/java/bjc/utils/ioutils/blocks/package-info.java | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/base/src/main/java/bjc/utils/ioutils/blocks/SerialBlockReader.java b/base/src/main/java/bjc/utils/ioutils/blocks/SerialBlockReader.java index 265a781..9617ebd 100644 --- a/base/src/main/java/bjc/utils/ioutils/blocks/SerialBlockReader.java +++ b/base/src/main/java/bjc/utils/ioutils/blocks/SerialBlockReader.java @@ -102,6 +102,8 @@ public class SerialBlockReader implements BlockReader { @Override public void close() throws IOException { while (!readerQueue.isEmpty()) { + // We are explicitly closing these + @SuppressWarnings("resource") final BlockReader reader = readerQueue.pop(); reader.close(); diff --git a/base/src/main/java/bjc/utils/ioutils/blocks/package-info.java b/base/src/main/java/bjc/utils/ioutils/blocks/package-info.java index 3d05ed4..d321725 100644 --- a/base/src/main/java/bjc/utils/ioutils/blocks/package-info.java +++ b/base/src/main/java/bjc/utils/ioutils/blocks/package-info.java @@ -2,16 +2,16 @@ * is structured as a series of 'blocks' or records. * <p> * - * The most fundamental unit here is that of {@link Block}. Each {@link - * BlockReader} will yield a sequence of these, which contain a piece of text + * The most fundamental unit here is that of {@link bjc.utils.ioutils.blocks.Block}. Each {@link + * bjc.utils.ioutils.blocks.BlockReader} will yield a sequence of these, which contain a piece of text * as its contents, as well as the beginning/ending line for that block. * - * There are a number of different types of {@link BlockReader}, which are + * There are a number of different types of {@link bjc.utils.ioutils.blocks.BlockReader}, which are * summarized here. * </p> * * <dl> - * <dt>{@link SimpleBlockReader}</dt> + * <dt>{@link bjc.utils.ioutils.blocks.SimpleBlockReader}</dt> * <dd> * The most basic form of BlockReader. This uses a regular expression to * delimit input reader from a {@link Reader} into a series of blocks. |
