commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject svn commit: r1804930 - in /commons/proper/vfs/trunk: pom.xml sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java src/site/xdoc/download.xml
Date Sun, 13 Aug 2017 17:23:58 GMT
Author: pascalschumacher
Date: Sun Aug 13 17:23:58 2017
New Revision: 1804930

URL: http://svn.apache.org/viewvc?rev=1804930&view=rev
Log:
VFS-642: Upgrade to jcifs 1.3.17 (closes #18)

patch contributed by Ilan Goldfeld

Modified:
    commons/proper/vfs/trunk/pom.xml
    commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java
    commons/proper/vfs/trunk/src/site/xdoc/download.xml

Modified: commons/proper/vfs/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1804930&r1=1804929&r2=1804930&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Sun Aug 13 17:23:58 2017
@@ -416,7 +416,7 @@
       <dependency>
         <groupId>jcifs</groupId>
         <artifactId>jcifs</artifactId>
-        <version>0.8.3</version>
+        <version>1.3.17</version>
       </dependency>
       <dependency>
         <groupId>javax.mail</groupId>

Modified: commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java?rev=1804930&r1=1804929&r2=1804930&view=diff
==============================================================================
--- commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java
(original)
+++ commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileObject.java
Sun Aug 13 17:23:58 2017
@@ -227,7 +227,7 @@ public class SmbFileObject
         }
         catch (final SmbException e)
         {
-            if (e.getErrorCode() == SmbException.ERRbadfile)
+            if (e.getNtStatus() == SmbException.NT_STATUS_NO_SUCH_FILE)
             {
                 throw new org.apache.commons.vfs2.FileNotFoundException(getName());
             }

Modified: commons/proper/vfs/trunk/src/site/xdoc/download.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/site/xdoc/download.xml?rev=1804930&r1=1804929&r2=1804930&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/site/xdoc/download.xml (original)
+++ commons/proper/vfs/trunk/src/site/xdoc/download.xml Sun Aug 13 17:23:58 2017
@@ -102,7 +102,7 @@
                 <tr>
                     <td>
                         <a href="http://jcifs.samba.org/">jCIFS</a>
-                        Version 0.8.3.
+                        Version 1.3.17.
                     </td>
                     <td>CIFS (VFS sandbox)</td>
                 </tr>



Mime
View raw message