summaryrefslogtreecommitdiff
path: root/dslog/DslogReader.java
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-12 22:54:33 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-12 22:54:33 -0400
commit172d8718805400151a76b8d0f862eab4f8d29a58 (patch)
treed05621d94f034fbfb86c54cada5f53df38fe6cfc /dslog/DslogReader.java
parent8deda5a91ff3de167e80d805e8856a74d661fb9c (diff)
stuff
Diffstat (limited to 'dslog/DslogReader.java')
-rw-r--r--dslog/DslogReader.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/dslog/DslogReader.java b/dslog/DslogReader.java
index 0b43682..73d7dc5 100644
--- a/dslog/DslogReader.java
+++ b/dslog/DslogReader.java
@@ -1,5 +1,6 @@
package dslog;
+import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.lang.UnsupportedOperationException;
@@ -7,7 +8,7 @@ import java.time.Duration;
import java.time.Instant;
import java.util.stream.IntStream;
-class DslogReader {
+class DslogReader implements Closeable {
private final InputStream reader;
public final int version;