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

Behavior of methods in the class BasicFileView undocumented

XMLWordPrintable

    • sparc
    • solaris_2.6



      Name: ssR10000 Date: 11/08/2001



      The behavior of:

      public String getTypeDescription(File f)
      public String getDescription(File f)

      methods in the class BasicFileChooserUI.BasicFileView poorly documented.

      That documentation don't provide the right way to write JCK tests.

      For example JavaDoc say:

      "A human readable description of the type of the file.
      For example, a jpg file might have a type description
      of: "A JPEG Compressed Image File""

      but, it's very common sentance.
      It's impossible to write JCK test using this description.

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

            kwalrathsunw Kathy Walrath (Inactive)
            sswsunw Ssw Ssw (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: