Skip to content
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

Remove api from the io.netty5.buffer.api package path #12792

Merged
merged 1 commit into from
Sep 10, 2022

Conversation

chrisvest
Copy link
Contributor

Motivation:
The api component is a holdover from before the package rename from io.netty to io.netty5, and from before ByteBuf was removed. So this was originally meant to separate the new code from the old. But since we did the package rename, and we removed ByteBuf, this is no longer necessary.

Modification:
Remove api from the package path and update... everything... to match.

Result:
Buffers are now in a package path more in line with the naming convention in the rest of Netty.

Reviewer note: Except for deleting the spare package-info.java file, the refactoring was done entirely mechanically by IntelliJ. If the build passes, I'm just going to merge this.

@chrisvest chrisvest added this to the 5.0.0.Alpha5 milestone Sep 10, 2022
Motivation:
The `api` component is a holdover from before the package rename from `io.netty` to `io.netty5`, and from before `ByteBuf` was removed.
So this was originally meant to separate the new code from the old.
But since we did the package rename, and we removed `ByteBuf`, this is no longer necessary.

Modification:
Remove `api` from the package path and update... everything... to match.

Result:
Buffers are now in a package path more in line with the naming convention in the rest of Netty.
@chrisvest chrisvest merged commit 508d6e2 into netty:main Sep 10, 2022
@chrisvest chrisvest deleted the 5x-buffer-api-to-buffer branch September 10, 2022 04:08
violetagg added a commit to violetagg/socks-proxy that referenced this pull request Sep 11, 2022
Motivation:
- Buffer API package was changed from `io.netty5.buffer.api` to `io.netty5.buffer`
netty/netty#12792
- Small enhancement was introduced to `ChannelHandlerMetadataUtil`
netty/netty#12786

Modification:
- Adapt to the changed package for Buffer API
- Adapt to the change in `ChannelHandlerMetadataUtil`

Result:
Project build is green again
violetagg added a commit to violetagg/codec-haproxy that referenced this pull request Sep 11, 2022
Motivation:
- Buffer API package was changed from `io.netty5.buffer.api` to `io.netty5.buffer`
netty/netty#12792
- Small enhancement was introduced to `ChannelHandlerMetadataUtil`
netty/netty#12786

Modification:
- Adapt to the changed package for Buffer API
- Adapt to the change in `ChannelHandlerMetadataUtil`

Result:
Project build is green again
violetagg added a commit to violetagg/codec-extras that referenced this pull request Sep 11, 2022
Motivation:
- Buffer API package was changed from `io.netty5.buffer.api` to `io.netty5.buffer`
netty/netty#12792

Modification:
- Adapt to the changed package for Buffer API

Result:
Project build is green again
violetagg added a commit to netty-contrib/codec-extras that referenced this pull request Sep 12, 2022
Motivation:
- Buffer API package was changed from `io.netty5.buffer.api` to `io.netty5.buffer`
netty/netty#12792

Modification:
- Adapt to the changed package for Buffer API

Result:
Project build is green again
violetagg added a commit to netty-contrib/codec-haproxy that referenced this pull request Sep 12, 2022
Motivation:
- Buffer API package was changed from `io.netty5.buffer.api` to `io.netty5.buffer`
netty/netty#12792
- Small enhancement was introduced to `ChannelHandlerMetadataUtil`
netty/netty#12786

Modification:
- Adapt to the changed package for Buffer API
- Adapt to the change in `ChannelHandlerMetadataUtil`

Result:
Project build is green again
violetagg added a commit to netty-contrib/socks-proxy that referenced this pull request Sep 12, 2022
Motivation:
- Buffer API package was changed from `io.netty5.buffer.api` to `io.netty5.buffer`
netty/netty#12792
- Small enhancement was introduced to `ChannelHandlerMetadataUtil`
netty/netty#12786

Modification:
- Adapt to the changed package for Buffer API
- Adapt to the change in `ChannelHandlerMetadataUtil`

Result:
Project build is green again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant