Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28e102a

Browse files
committed
Closeable replaced by AutoCloseable
1 parent fb51588 commit 28e102a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/main/java/com/igormaznitsa/prologparser/PrologParser.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
import com.igormaznitsa.prologparser.tokenizer.Tokenizer;
4545
import com.igormaznitsa.prologparser.tokenizer.TokenizerResult;
4646
import com.igormaznitsa.prologparser.utils.Koi7CharOpMap;
47-
import java.io.Closeable;
4847
import java.io.IOException;
4948
import java.io.Reader;
5049
import java.util.ArrayList;
@@ -60,7 +59,7 @@
6059
* Abstract base Prolog parser.
6160
*/
6261
@SuppressWarnings({"GrazieInspection", "unused"})
63-
public abstract class PrologParser implements Iterable<PrologTerm>, Closeable {
62+
public abstract class PrologParser implements Iterable<PrologTerm>, AutoCloseable {
6463

6564
public static final PrologTerm[] EMPTY_TERM_ARRAY = new PrologTerm[0];
6665
protected static final Koi7CharOpMap META_OP_MAP;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /