File tostring respect closed.
This commit is contained in:
@@ -133,7 +133,7 @@ public class JseIoLib extends IoLib {
|
||||
this( null, null, o );
|
||||
}
|
||||
public String tojstring() {
|
||||
return "file ("+this.hashCode()+")";
|
||||
return "file (" + (this.closed ? "closed" : this.hashCode()) + ")";
|
||||
}
|
||||
public boolean isstdfile() {
|
||||
return file == null;
|
||||
|
||||
Reference in New Issue
Block a user