()
| 124 | } |
| 125 | |
| 126 | @Override |
| 127 | public final void clear() throws IOException { |
| 128 | if ((bufferSize == 0) && (out != null)) { |
| 129 | // clear() is illegal after any unbuffered output (JSP.5.5) |
| 130 | throw new IllegalStateException(Localizer.getMessage("jsp.error.ise_on_clear")); |
| 131 | } |
| 132 | if (flushed) { |
| 133 | throw new IOException(Localizer.getMessage("jsp.error.attempt_to_clear_flushed_buffer")); |
| 134 | } |
| 135 | ensureOpen(); |
| 136 | nextChar = 0; |
| 137 | } |
| 138 | |
| 139 | @Override |
| 140 | public void clearBuffer() throws IOException { |
nothing calls this directly
no test coverage detected