Skip to content

Commit

Permalink
Updating ByteBuf Javadocs to represent actual behaviour. (netty#8709)
Browse files Browse the repository at this point in the history
Motivation:

The javadocs stating `IndexOutOfBoundsException` is thrown were
different from what `ByteBuf` actually did. We want to ensure the
Javadocs represent reality.

Modifications:

Updated javadocs on `write*`, `ensureWriteable`, `capacity`, and
`maxCapacity` methods.

Results:

Javadocs more closely match actual behaviour.
  • Loading branch information
lewisd32 authored and normanmaurer committed Jan 14, 2019
1 parent 9fb0765 commit 1b9cdc1
Showing 1 changed file with 74 additions and 94 deletions.
Loading

0 comments on commit 1b9cdc1

Please sign in to comment.