mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
Removed overriding closable interface.
This commit is contained in:
parent
e1eabc9c27
commit
7eca507d13
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user