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

Simple misleading documentation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: