Parent Directory | Revision Log | Patch
revision 1.6 by rabbit78, Sun Apr 17 18:56:29 2005 UTC | revision 1.7 by rabbit78, Sun Apr 17 21:16:20 2005 UTC | |
---|---|---|
# | Line 63 public class SimpleAttributeSet | Line 63 public class SimpleAttributeSet |
63 | ||
64 | public void addAttribute(Object name, Object value) | public void addAttribute(Object name, Object value) |
65 | { | { |
66 | if (value == null) | tab.put(name, value); |
tab.remove(name); | ||
else | ||
tab.put(name, value); | ||
67 | } | } |
68 | ||
69 | public void addAttributes(AttributeSet attributes) | public void addAttributes(AttributeSet attributes) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |