Author: ngn
Date: Tue Aug 24 08:10:08 2010
New Revision: 988427

URL: http://svn.apache.org/viewvc?rev=988427&view=rev
Log:
DataTranferFtpReply should extend FileActionFtpReply (FTPSERVER-384)

Modified:
    
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java
    
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java

Modified: 
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java
URL: 
http://svn.apache.org/viewvc/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java?rev=988427&r1=988426&r2=988427&view=diff
==============================================================================
--- 
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java
 (original)
+++ 
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java
 Tue Aug 24 08:10:08 2010
@@ -28,18 +28,7 @@ package org.apache.ftpserver.ftplet;
  * 
  */
 
-public interface DataTransferFtpReply extends FtpReply {
-
-       /**
-        * Returns the file that was transferred (uploaded, downloaded or the
-        * directory that was listed).
-        * 
-        * @return the file that was transferred (uploaded, downloaded or the
-        *         directory that was listed). May return <code>null</code>, if
-        *         the file information is not available because the request 
was bad
-        *         or any other reason.
-        */
-       FtpFile getFile();
+public interface DataTransferFtpReply extends FileActionFtpReply {
 
        /**
         * Returns the number of bytes transferred.

Modified: 
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java
URL: 
http://svn.apache.org/viewvc/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java?rev=988427&r1=988426&r2=988427&view=diff
==============================================================================
--- 
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java
 (original)
+++ 
mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java
 Tue Aug 24 08:10:08 2010
@@ -30,7 +30,8 @@ package org.apache.ftpserver.ftplet;
 public interface FileActionFtpReply extends FtpReply {
 
        /**
-        * Returns the file on which the action was taken.
+        * Returns the file (or directory) on which the action was taken 
+        * (e.g. uploaded, created, listed)
         * 
         * @return the file on which the action was taken. May return
         *         <code>null</code>, if the file information is not available.


Reply via email to