mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 10:45:23 +08:00
Removed overriding closable interface.
This commit is contained in:
@@ -13,7 +13,7 @@ Public Domain.
|
||||
* @author JSON.org
|
||||
* @version 2014-05-03
|
||||
*/
|
||||
public class JSONTokener implements Closeable {
|
||||
public class JSONTokener {
|
||||
/** current read character position on the current line. */
|
||||
private long character;
|
||||
/** flag to indicate if the end of the input has been found. */
|
||||
@@ -518,7 +518,6 @@ public class JSONTokener implements Closeable {
|
||||
this.line + "]";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
if(reader!=null){
|
||||
reader.close();
|
||||
|
Reference in New Issue
Block a user