netty5/common
Norman Maurer 91a508664f Document the contract of Attribute.getAndSet(...) and set(...)
Motivation:

Attribute.getAndRemove() will return the value but also remove the AttributeKey itself from the AttributeMap. This may not
what you want as you may want to keep an instance of it and just set it later again. Document the contract so the user know what to expect.

Modifications:

- Make it clear when to use AttributeKey.getAndRemove() / AttributeKey.remove() and when AttributeKey.getAndSet(null) / AttributeKey.set(null).

Result:

Less suprising behaviour.
2015-04-14 09:53:04 +02:00
..
src Document the contract of Attribute.getAndSet(...) and set(...) 2015-04-14 09:53:04 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2015-03-31 22:06:30 -04:00