[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: More SimpleAttributeSet fixes
From: |
Anthony Balkissoon |
Subject: |
[cp-patches] FYI: More SimpleAttributeSet fixes |
Date: |
Tue, 27 Sep 2005 17:33:29 -0400 |
containsAttribute should be searching up the resolve parent hierarchy,
not just looking locally.
This patch also implements the isEqual performance tweak that I
mentioned earlier on the list.
2005-09-27 Anthony Balkissoon <address@hidden>
* javax/swing/text/SimpleAttributeSet.java:
(containsAttribute): Check the resolve parent if the attribute is not
found locally.
(containsAttributeLocally): New package-private method.
(isEqual): Re-implemented. Return true if the two sets have the same
size and this set contains the given set.
--Tony
SimpleAttributeSetFixes.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: More SimpleAttributeSet fixes,
Anthony Balkissoon <=