From 58bba6b725ff4257cbefb494dc93d15e37b8485f Mon Sep 17 00:00:00 2001 From: Ryan Doherty Date: Thu, 22 Aug 2024 17:09:55 -0400 Subject: [PATCH] Use better closeable interface --- .../gusdb/wdk/model/answer/stream/AbstractRecordIterator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Model/src/main/java/org/gusdb/wdk/model/answer/stream/AbstractRecordIterator.java b/Model/src/main/java/org/gusdb/wdk/model/answer/stream/AbstractRecordIterator.java index 1ba3e4d3f4..0c3dae20cf 100644 --- a/Model/src/main/java/org/gusdb/wdk/model/answer/stream/AbstractRecordIterator.java +++ b/Model/src/main/java/org/gusdb/wdk/model/answer/stream/AbstractRecordIterator.java @@ -1,6 +1,5 @@ package org.gusdb.wdk.model.answer.stream; -import java.io.Closeable; import java.util.ConcurrentModificationException; import java.util.Map; import java.util.NoSuchElementException; @@ -20,7 +19,7 @@ import org.gusdb.wdk.model.record.StaticRecordInstance; import org.gusdb.wdk.model.record.attribute.AttributeField; -public abstract class AbstractRecordIterator extends ReadOnlyIterator implements Closeable { +public abstract class AbstractRecordIterator extends ReadOnlyIterator implements AutoCloseable { private static final Logger LOG = Logger.getLogger(AbstractRecordIterator.class);