Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-89

Simple misleading documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None
    • all

    Description

      org.apache.commons.vfs.provider.zip.ZipFileObject

      /**

      • Returns true if this file is read-only.
        */
        public boolean isWriteable() { return false; }

      acording to
      org.apache.commons.vfs.FileObject

      /**

      • Determines if this file can be written to.
        *
      • @return <code>true</code> if this file is writeable, <code>false</code> if not.
      • @throws FileSystemException On error determining if this file exists.
        */
        public boolean isWriteable() throws FileSystemException;

      -------------------------------
      Incorrect documentation is often worse than no documentation

      Attachments

        Activity

          People

            Unassigned Unassigned
            vincnetas Vincentas Vienozinskis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: