commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1643379 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java
Date Fri, 05 Dec 2014 18:24:34 GMT
Author: sebb
Date: Fri Dec  5 18:24:33 2014
New Revision: 1643379

URL: http://svn.apache.org/r1643379
Log:
Document what happens when invalid parameters supplied

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java?rev=1643379&r1=1643378&r2=1643379&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java Fri Dec
 5 18:24:33 2014
@@ -362,6 +362,7 @@ public class FTPFile implements Serializ
      *               constants)
      * @param permission The access permission (one of the
      *               <code> _PERMISSION </code> constants)
+     * @throws ArrayIndexOutOfBoundsException if either of the parameters is out of range
      ***/
     public boolean hasPermission(int access, int permission)
     {



Mime
View raw message