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

Change DefaultChannelId visibility to default. Related to [#5053] #5057

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -33,7 +33,7 @@
/**
* The default {@link ChannelId} implementation.
*/
final class DefaultChannelId implements ChannelId {
public final class DefaultChannelId implements ChannelId {

private static final long serialVersionUID = 3884076183504074063L;

Expand All @@ -53,7 +53,10 @@ final class DefaultChannelId implements ChannelId {

private static final AtomicInteger nextSequence = new AtomicInteger();

static ChannelId newInstance() {
/**
* Returns a new {@link DefaultChannelId} instance.
*/
public static DefaultChannelId newInstance() {
DefaultChannelId id = new DefaultChannelId();
id.init();
return id;
Expand Down Expand Up @@ -184,6 +187,8 @@ private static int defaultProcessId() {
private transient String shortValue;
private transient String longValue;

private DefaultChannelId() { }

private void init() {
int i = 0;

Expand Down