Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8177452

Syntax errors in ContentHandler class documentation

XMLWordPrintable

    • b05
    • Not verified

      A DESCRIPTION OF THE PROBLEM :
      1. In the class documentation, the sentence "an instance of a class that implements the interface ContentHandlerFactory set up by a call to setContentHandler" should be replaced by "an instance of a class that implements the interface ContentHandlerFactory set up by a call to setContentHandlerFactory".

      2. In the getContent(URLConnection, Class[]) method documentation, the sentence "The default implementation of this method should call getContent() and screen the return type for a match of the suggested types" should be replaced by "The default implementation of this method should call getContent(URLConnection urlc) and screen the return type for a match of the suggested types"


      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/api/java/net/ContentHandler.html

            michaelm Michael McMahon
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: