Skip to content

Commit 785fa1a

Browse files
author
Gary Gregory
committed
Javadoc.
1 parent 3816c57 commit 785fa1a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/org/apache/commons/io/output/ProxyWriter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,14 @@ public void close() throws IOException {
233233
* Subclasses can override this method to add common pre-processing
234234
* functionality without having to override all the write methods.
235235
* The default implementation does nothing.
236+
* </p>
236237
*
237238
* @since 2.0
238239
* @param n number of chars to be written
239240
* @throws IOException if the pre-processing fails
240241
*/
241242
protected void beforeWrite(final int n) throws IOException {
243+
// noop
242244
}
243245

244246
/**
@@ -250,19 +252,23 @@ protected void beforeWrite(final int n) throws IOException {
250252
* Subclasses can override this method to add common post-processing
251253
* functionality without having to override all the write methods.
252254
* The default implementation does nothing.
255+
* </p>
253256
*
254257
* @since 2.0
255258
* @param n number of chars written
256259
* @throws IOException if the post-processing fails
257260
*/
258261
protected void afterWrite(final int n) throws IOException {
262+
// noop
259263
}
260264

261265
/**
262266
* Handle any IOExceptions thrown.
263267
* <p>
264268
* This method provides a point to implement custom exception
265269
* handling. The default behaviour is to re-throw the exception.
270+
* </p>
271+
*
266272
* @param e The IOException thrown
267273
* @throws IOException if an I/O error occurs
268274
* @since 2.0

0 commit comments

Comments
 (0)