summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2006-02-22 08:34:06 +0000
committerMark Wielaard <mark@klomp.org>2006-02-22 08:34:06 +0000
commit74e23dff8c409d1316ef3558fa2287ee919804ac (patch)
treea75f698b7e240ff2d867582c67555d7b5fcfe669
parent57efe4b85b21c948f48c37ad6baec069346ddee8 (diff)
downloadclasspath-74e23dff8c409d1316ef3558fa2287ee919804ac.tar.gz
* javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
qualify AbstractDocument.AttributeContext. (blockOpen): Likewise.
-rw-r--r--ChangeLog6
-rw-r--r--javax/swing/text/html/HTMLDocument.java4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d8d07fea9..5f038a7b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-22 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
+ qualify AbstractDocument.AttributeContext.
+ (blockOpen): Likewise.
+
2006-02-21 Mark Wielaard <mark@klomp.org>
* java/awt/Component.java (translateEvent): Translate
diff --git a/javax/swing/text/html/HTMLDocument.java b/javax/swing/text/html/HTMLDocument.java
index 062fdd5fe..de31ca09f 100644
--- a/javax/swing/text/html/HTMLDocument.java
+++ b/javax/swing/text/html/HTMLDocument.java
@@ -150,7 +150,7 @@ public class HTMLDocument extends DefaultStyledDocument
*/
protected AbstractElement createDefaultRoot()
{
- AttributeContext ctx = getAttributeContext();
+ AbstractDocument.AttributeContext ctx = getAttributeContext();
// Create html element.
AttributeSet atts = ctx.getEmptySet();
@@ -1286,7 +1286,7 @@ public class HTMLDocument extends DefaultStyledDocument
{
printBuffer();
DefaultStyledDocument.ElementSpec element;
- AttributeContext ctx = getAttributeContext();
+ AbstractDocument.AttributeContext ctx = getAttributeContext();
AttributeSet copy = attr.copyAttributes();
copy = ctx.addAttribute(copy, StyleConstants.NameAttribute, t);
element = new DefaultStyledDocument.ElementSpec(copy,