Merge pull request #445 from lcc/fix-meaningless-close

Fix meaningless close
This commit is contained in:
Lukasz Lenart
2020-11-18 07:08:24 +01:00
committed by GitHub
2 changed files with 0 additions and 3 deletions
@@ -209,7 +209,6 @@ class JspReader {
CharArrayWriter caw = new CharArrayWriter();
while (!stop.equals(mark()))
caw.write(nextChar());
caw.close();
reset(oldstart);
return caw.toString();
}
@@ -595,7 +594,6 @@ class JspReader {
char buf[] = new char[1024];
for (int i = 0 ; (i = reader.read(buf)) != -1 ;)
caw.write(buf, 0, i);
caw.close();
if (current == null) {
current = new Mark(this, caw.toCharArray(), fileid,
getFile(fileid), master, encoding);
@@ -324,7 +324,6 @@ class Parser implements TagConstants {
++i;
}
}
cw.close();
return cw.toString();
}