This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Can you (Jim/Dalibor) explain what this change achieves? I understand reversing the delegation order between contains() & containsValue(), but why add an internal private method? It doesn't affect the overriding behaviour of containsValue() at all - or am I missing something
The new method is not strictly necessary. It was there to make patching easier until we figured out the proper delegation chain for contains*(). Feel free to inline it back into contains().
Attachment:
Hashtable.patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |