netty5/common
Norman Maurer 0d9ba81c06 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:53 +02:00
..
src Document the contract of Attribute.getAndSet(...) and set(...) 2015-04-14 09:53:53 +02:00
pom.xml Auto-generating primitive collections for int and char keys. 2015-04-10 07:57:30 -07:00