Skip to content

Commit 7eca507

Browse files
committed
Removed overriding closable interface.
1 parent e1eabc9 commit 7eca507

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/json/JSONTokener.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @author JSON.org
1414
* @version 2014-05-03
1515
*/
16-
public class JSONTokener implements Closeable {
16+
public class JSONTokener {
1717
/** current read character position on the current line. */
1818
private long character;
1919
/** flag to indicate if the end of the input has been found. */
@@ -518,7 +518,6 @@ public String toString() {
518518
this.line + "]";
519519
}
520520

521-
@Override
522521
public void close() throws IOException {
523522
if(reader!=null){
524523
reader.close();

0 commit comments

Comments
 (0)