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

The HTMLWriter.maxLineLength default value is incorrect

XMLWordPrintable

    • sparc
    • solaris_2.5.1



      Name: akC57697 Date: 02/10/99


      This bug was found by St.Petersburg Java SQE team (by Sergey Scherbakov).

       The javadoc says:
      "
        protected void setLineLength(int l)

             Enables subclasses to set the number of characters they want
             written per line.
             The default is 100.
      " ^^^^^

      The source code "* @(#)HTMLWriter.java 1.20 98/12/03" contains
      initializations:

        HTMLWriter.java: private int maxLineLength = 80;
        HTMLWriter.java: this.maxLineLength = 80;
        
       It contradicts the javadoc.

      ======================================================================

            svioletsunw Scott Violet (Inactive)
            akuzminorcl Alexander Kuzmin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: