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