netty5/codec/src
ryu1-sakai c1d0d88f0a Implement DefaultHeaders.HeaderEntry.equals()
Motivation:

HeaderEntry.equals() inherets Object.equals() which simply check if two objects are the same.
So it returns false even when two HeaderEntry objects have the same name and value.

Modifications:

Implement HeaderEntry.equals() that follows the specification of Map.Entry.equals().
https://docs.oracle.com/javase/9/docs/api/java/util/Map.Entry.html#equals-java.lang.Object-

Result:

HeaderEntry.equals() returns true if two HeaderEntry objects have the same name and value.
2018-02-15 13:07:03 +01:00
..
main/java/io/netty/handler/codec Implement DefaultHeaders.HeaderEntry.equals() 2018-02-15 13:07:03 +01:00
test Implement DefaultHeaders.HeaderEntry.equals() 2018-02-15 13:07:03 +01:00