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]

Re: FYI: Patch: java.util.Hashtable


On Dec 8, 2003, at 8:02 AM, Dalibor Topic wrote:

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().

Thanks. I'm checking this in.


Bryce.


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]