New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example code in ByteBuf 4.0 javadoc uses 3.x API #3899
Comments
@justinjhendrick yep... We love PR's, maybe you want to submit one ? |
I'd like to but my company doesn't want to go through the analysis required for me to contribute to netty for such a small PR. Sorry. |
@justinjhendrick no worries... I will fix it |
Thanks! |
normanmaurer
added a commit
that referenced
this issue
Jul 3, 2015
Motivation: The javadoc of ByteBuf contained some out-dated code. Modifications: Update code example in javadoc to use netty 4+ API Result: Correct javadocs
normanmaurer
added a commit
that referenced
this issue
Jul 3, 2015
Motivation: The javadoc of ByteBuf contained some out-dated code. Modifications: Update code example in javadoc to use netty 4+ API Result: Correct javadocs
normanmaurer
added a commit
that referenced
this issue
Jul 3, 2015
Motivation: The javadoc of ByteBuf contained some out-dated code. Modifications: Update code example in javadoc to use netty 4+ API Result: Correct javadocs
normanmaurer
added a commit
that referenced
this issue
Jul 3, 2015
Motivation: The javadoc of ByteBuf contained some out-dated code. Modifications: Update code example in javadoc to use netty 4+ API Result: Correct javadocs
Fixed |
pulllock
pushed a commit
to pulllock/netty
that referenced
this issue
Oct 19, 2023
Motivation: The javadoc of ByteBuf contained some out-dated code. Modifications: Update code example in javadoc to use netty 4+ API Result: Correct javadocs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://netty.io/4.0/api/io/netty/buffer/ByteBuf.html
// Iterates the readable bytes of a buffer.
ByteBuf buffer = ...;
while (buffer.readable()) {
System.out.println(buffer.readByte());
}
But readable() was changed to isReadable() in 4.0
The text was updated successfully, but these errors were encountered: