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

Behavior of methods in the class BasicFileView undocumented

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      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.

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: