I'm checking this in.

This removes a couple of stubs; according to the javadoc the
reference implementation doesn't override these, so I doubt we'll
need to either.

It also implements the only stub I could easily figure out how to
implement :)

Tom

2006-06-06  Tom Tromey  <[EMAIL PROTECTED]>

        * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
        Implement.
        (SpecialAction.end): Removed.
        (IsindexAction.end): Likewise.

Index: javax/swing/text/html/HTMLDocument.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/html/HTMLDocument.java,v
retrieving revision 1.30
diff -u -r1.30 HTMLDocument.java
--- javax/swing/text/html/HTMLDocument.java     17 May 2006 19:28:22 -0000      
1.30
+++ javax/swing/text/html/HTMLDocument.java     6 Jun 2006 19:37:24 -0000
@@ -677,17 +677,6 @@
         // FIXME: Implement.
         print ("IsindexAction.start not implemented");
       }
-      
-      /**
-       * Called when an end tag is seen for one of the types of tags associated
-       * with this Action.
-       */
-      public void end(HTML.Tag t)
-        throws NotImplementedException
-      {
-        // FIXME: Implement.
-        print ("IsindexAction.end not implemented");
-      } 
     }
     
     public class ParagraphAction extends BlockAction
@@ -745,22 +734,9 @@
        * of tags associated with this Action.
        */
       public void start(HTML.Tag t, MutableAttributeSet a)
-        throws NotImplementedException
       {
-        // FIXME: Implement.
-        print ("SpecialAction.start not implemented");
+        addSpecialElement(t, a);
       }
-      
-      /**
-       * Called when an end tag is seen for one of the types of tags associated
-       * with this Action.
-       */
-      public void end(HTML.Tag t)
-        throws NotImplementedException
-      {
-        // FIXME: Implement.
-        print ("SpecialAction.end not implemented");
-      }                
     }
     
     class AreaAction extends TagAction

Reply via email to