{"action":"closed","issue":{"url":"https://api.github.com/repos/netty/netty/issues/3899","labels_url":"https://api.github.com/repos/netty/netty/issues/3899/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/3899/comments","events_url":"https://api.github.com/repos/netty/netty/issues/3899/events","html_url":"https://github.com/netty/netty/issues/3899","id":89375151,"number":3899,"title":"Example code in ByteBuf 4.0 javadoc uses 3.x API","user":{"login":"justinjhendrick","id":4964444,"avatar_url":"https://avatars.githubusercontent.com/u/4964444?v=3","gravatar_id":"","url":"https://api.github.com/users/justinjhendrick","html_url":"https://github.com/justinjhendrick","followers_url":"https://api.github.com/users/justinjhendrick/followers","following_url":"https://api.github.com/users/justinjhendrick/following{/other_user}","gists_url":"https://api.github.com/users/justinjhendrick/gists{/gist_id}","starred_url":"https://api.github.com/users/justinjhendrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinjhendrick/subscriptions","organizations_url":"https://api.github.com/users/justinjhendrick/orgs","repos_url":"https://api.github.com/users/justinjhendrick/repos","events_url":"https://api.github.com/users/justinjhendrick/events{/privacy}","received_events_url":"https://api.github.com/users/justinjhendrick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netty/netty/labels/documentation","name":"documentation","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/netty/netty/milestones/122","html_url":"https://github.com/netty/netty/milestones/4.0.30.Final","labels_url":"https://api.github.com/repos/netty/netty/milestones/122/labels","id":1176773,"number":122,"title":"4.0.30.Final","description":"","creator":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"open_issues":69,"closed_issues":4,"state":"open","created_at":"2015-06-23T07:04:21Z","updated_at":"2015-07-03T12:24:03Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-06-18T19:20:50Z","updated_at":"2015-07-03T12:24:03Z","closed_at":"2015-07-03T12:24:03Z","body":"https://netty.io/4.0/api/io/netty/buffer/ByteBuf.html\r\n\r\n // Iterates the readable bytes of a buffer.\r\n ByteBuf buffer = ...;\r\n while (buffer.readable()) {\r\n     System.out.println(buffer.readByte());\r\n }\r\n \r\n\r\nBut readable() was changed to isReadable() in 4.0"}}