c1d0d88f0a
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. |
||
---|---|---|
.. | ||
src | ||
pom.xml |