diff options
author | Roman Kennke <roman@kennke.org> | 2005-07-27 14:56:54 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2005-07-27 14:56:54 +0000 |
commit | b530625b44e46f2c1ce3cef54f769ee0574e6515 (patch) | |
tree | 4f3e313deef4631127e8dafa1d2ffe7da226d87e /javax/swing/JTextPane.java | |
parent | 53fff2a7345e0550b65c846f1066d1706b594230 (diff) | |
download | classpath-b530625b44e46f2c1ce3cef54f769ee0574e6515.tar.gz |
2005-07-27 Roman Kennke <roman@kennke.org>
* javax/swing/JTextPane.java
(getCharacterAttributes): Return SimpleAttributeSet.EMPTY instead
of null.
Diffstat (limited to 'javax/swing/JTextPane.java')
-rw-r--r-- | javax/swing/JTextPane.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/javax/swing/JTextPane.java b/javax/swing/JTextPane.java index 532181258..120f52e7c 100644 --- a/javax/swing/JTextPane.java +++ b/javax/swing/JTextPane.java @@ -46,6 +46,7 @@ import javax.swing.text.AttributeSet; import javax.swing.text.Document; import javax.swing.text.EditorKit; import javax.swing.text.MutableAttributeSet; +import javax.swing.text.SimpleAttributeSet; import javax.swing.text.Style; import javax.swing.text.StyledDocument; import javax.swing.text.StyledEditorKit; @@ -195,7 +196,7 @@ public class JTextPane extends JEditorPane { * @returns AttributeSet */ public AttributeSet getCharacterAttributes() { - return null; // TODO + return SimpleAttributeSet.EMPTY; // TODO } // getCharacterAttributes() /** |