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

Syntax errors in URLConnection class documentation

    XMLWordPrintable

Details

    • b05
    • Not verified

    Description

      A DESCRIPTION OF THE PROBLEM :
      1. In getDefaultUseCaches method documentation, the second line should be started with "This" instead of "Ths".

      2. In getDefaultAllowUserInteraction method documentation, the second line should be started with "This" instead of "Ths".

      3. In setUseCaches method documentation, the sentence "The default value comes from DefaultUseCaches, which defaults to true" should be replaced by "The default value comes from defaultUseCaches, which defaults to true".

      4. In setDoInput method documentation, the sentence "Set the DoInput flag to true if you intend to use the URL connection for input" should be replaced by "Set the doInput flag to true if you intend to use the URL connection for input".

      5. In setDoOutput method documentation, the sentence "Set the DoOutput flag to true if you intend to use the URL connection for output" should be replaced by "Set the doOutput flag to true if you intend to use the URL connection for output".

      6. In setContentHandlerFactory method documentation, the second line should finish with period "."


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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: