[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] UIDefaults fixlet
From: |
Roman Kennke |
Subject: |
[cp-patches] UIDefaults fixlet |
Date: |
Thu, 07 Apr 2005 09:27:58 +0200 |
Hi,
Yesterday I've committed the attached patch. It fixes
javax.swing.UIDefaults put() and putDefaults() methods. These should (in
contrast to Hashtable) accept null values and treat them as remove(key).
This is documented in put() but not explicitly in putDefaults(). A mauve
testcase that I've also committed yester confirms that this behaviour is
correct for putDefaults().
2005-04-06 Roman Kennke <address@hidden>
* javax/swing/UIDefaults.java
(put): Now uses new checkAndPut method instead of checking
directly.
(putDefaults): Fixed so that it accepts null-values and
treats them like remove(key).
(checkAndPut): Added. This checks for null-values and calls
put or remove.
Regards,
Roman
UIDefaults.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] UIDefaults fixlet,
Roman Kennke <=