Skip to content

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

Merged
chrisvest merged 1 commit into
netty:mainfrom
chrisvest:5x-buffer-api-to-buffer
Sep 10, 2022
Merged

Remove api from the io.netty5.buffer.api package path#12792
chrisvest merged 1 commit into
netty:mainfrom
chrisvest:5x-buffer-api-to-buffer

Conversation

@chrisvest

Copy link
Copy Markdown
Member

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
@chrisvest chrisvest force-pushed the 5x-buffer-api-to-buffer branch from 64f0d21 to 3cc3cef Compare September 10, 2022 00:57
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 force-pushed the 5x-buffer-api-to-buffer branch from 3cc3cef to 1309918 Compare September 10, 2022 01:08
@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.

1 participant