Deprecate methods in AbstractChannel that have no real usage.

Motivation:

We should deprecate methods that are not used.

Modifications:

Add @Deprecated to methods

Result:

Be able to cleanup stuff sooner.
This commit is contained in:
Norman Maurer 2016-07-05 21:12:09 +02:00
parent 0fbb791ad6
commit 195d7476d5

View File

@ -174,6 +174,10 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
return localAddress;
}
/**
* @deprecated no use-case for this.
*/
@Deprecated
protected void invalidateLocalAddress() {
localAddress = null;
}
@ -193,8 +197,9 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
}
/**
* Reset the stored remoteAddress
* @deprecated no use-case for this.
*/
@Deprecated
protected void invalidateRemoteAddress() {
remoteAddress = null;
}