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

JavaDoc for BasicFileChooserUI.getDirectory() is incorrect

    XMLWordPrintable

Details

    • beta2
    • sparc
    • solaris_2.6

    Description



      Name: nkR10003 Date: 06/07/2001



      JavaDoc comments specify returned value for "protected File getDirectory()"
      method in class BasicFileChooserUI incorrectly. JavaDoc says:
      "...
          Returns:
                  true iff a directory is currently selected.",
      but the returned value should be a File object. It looks like a cut and paste error
      from method "boolean isDirectorySelected()"

      Please, specify the correct behavior.
       

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: