You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2013/08/12 00:16:03 UTC

[08/50] [abbrv] git commit: Document throws to prevent warnings (cannot remove throws because subclass needs to throw)

Document throws to prevent warnings (cannot remove throws because subclass needs to throw)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@1129742 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/commit/5987bc53
Tree: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/tree/5987bc53
Diff: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/diff/5987bc53

Branch: refs/heads/trunk
Commit: 5987bc539f37c8d4c4290cb3f349c90186d272d6
Parents: 372c4ef
Author: Sebastian Bazley <se...@apache.org>
Authored: Tue May 31 15:11:03 2011 +0000
Committer: Sebastian Bazley <se...@apache.org>
Committed: Tue May 31 15:11:03 2011 +0000

----------------------------------------------------------------------
 .../ftpserver/ftpletcontainer/FtpLetReturnDisconnectTest.java    | 4 ++++
 .../apache/ftpserver/ftpletcontainer/FtpLetReturnSkipTest.java   | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-ftpserver/blob/5987bc53/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnDisconnectTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnDisconnectTest.java b/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnDisconnectTest.java
index 09caad7..50e09b8 100644
--- a/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnDisconnectTest.java
+++ b/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnDisconnectTest.java
@@ -529,6 +529,10 @@ public class FtpLetReturnDisconnectTest extends ClientTestTemplate {
         TestUtil.assertFileEqual(TESTDATA, ROOT_DIR.listFiles()[0]);
     }
 
+    /**
+     * @throws FtpException  
+     * @throws IOException 
+     */
     protected void throwException() throws FtpException, IOException {
         // do not throw, we want to check the result of return values
     }

http://git-wip-us.apache.org/repos/asf/mina-ftpserver/blob/5987bc53/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnSkipTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnSkipTest.java b/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnSkipTest.java
index 4e59719..de3a3ca 100644
--- a/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnSkipTest.java
+++ b/core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetReturnSkipTest.java
@@ -432,6 +432,10 @@ public class FtpLetReturnSkipTest extends ClientTestTemplate {
         TestUtil.assertFileEqual(TESTDATA, ROOT_DIR.listFiles()[0]);
     }
 
+    /**
+     * @throws FtpException 
+     * @throws IOException  
+     */
     protected void throwException() throws FtpException, IOException {
         // do not throw, we want to check the result of return values
     }