Skip to content

Commit

Permalink
Use better closeable interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrdoherty committed Aug 22, 2024
1 parent a31c830 commit 58bba6b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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<RecordInstance> implements Closeable {
public abstract class AbstractRecordIterator extends ReadOnlyIterator<RecordInstance> implements AutoCloseable {

private static final Logger LOG = Logger.getLogger(AbstractRecordIterator.class);

Expand Down

0 comments on commit 58bba6b

Please sign in to comment.