Commons VFS
  1. Commons VFS
  2. VFS-319

Typo in FtpsFileSystemConfigBuilder.setFtpsType

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None

      Description

      Looks like a cut-and-paste typo - the following:

       public void setFtpsType(FileSystemOptions opts, String ftpsType) {
          setParam(opts, USER_DIR_IS_ROOT, ftpsType);
        }
      

      should surely be

       public void setFtpsType(FileSystemOptions opts, String ftpsType) {
          setParam(opts, FTPS_TYPE, ftpsType);
        }
      

        Activity

        Sebb created issue -
        Sebb made changes -
        Field Original Value New Value
        Description Looks like a cut-and-paste typo - the following:

        {code}
         public void setFtpsType(FileSystemOptions opts, String ftpsType) {
            setParam(opts, FTPS_TYPE, ftpsType);
          }
        {code}

        should surely be

        {code}
         public void setFtpsType(FileSystemOptions opts, String ftpsType) {
            setParam(opts, USER_DIR_IS_ROOT, ftpsType);
          }
        {code}
        Looks like a cut-and-paste typo - the following:

        {code}
         public void setFtpsType(FileSystemOptions opts, String ftpsType) {
            setParam(opts, USER_DIR_IS_ROOT, ftpsType);
          }
        {code}

        should surely be

        {code}
         public void setFtpsType(FileSystemOptions opts, String ftpsType) {
            setParam(opts, FTPS_TYPE, ftpsType);
          }
        {code}
        Sebb made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0 [ 12313174 ]
        Resolution Fixed [ 1 ]
        James Carman made changes -
        Assignee Sebb [ sebb@apache.org ]

          People

          • Assignee:
            Sebb
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development