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:01 UTC

[06/50] [abbrv] git commit: Unnecessary throws clause

Unnecessary throws clause

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@1129738 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/3cb3f6bd
Tree: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/tree/3cb3f6bd
Diff: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/diff/3cb3f6bd

Branch: refs/heads/trunk
Commit: 3cb3f6bdd71667fa16d3c96bf08de46ea00a2dc7
Parents: ccbea00
Author: Sebastian Bazley <se...@apache.org>
Authored: Tue May 31 15:09:34 2011 +0000
Committer: Sebastian Bazley <se...@apache.org>
Committed: Tue May 31 15:09:34 2011 +0000

----------------------------------------------------------------------
 .../test/java/org/apache/ftpserver/util/EncryptUtilsTest.java  | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-ftpserver/blob/3cb3f6bd/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java b/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
index 078dbbc..2314e6e 100644
--- a/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
+++ b/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
@@ -21,8 +21,6 @@ package org.apache.ftpserver.util;
 
 import junit.framework.TestCase;
 
-import org.apache.ftpserver.ftplet.FtpException;
-
 /**
 *
 * @author <a href="http://mina.apache.org">Apache MINA Project</a>
@@ -30,12 +28,12 @@ import org.apache.ftpserver.ftplet.FtpException;
 */
 public class EncryptUtilsTest extends TestCase {
 
-    public void testEncryptMd5() throws FtpException {
+    public void testEncryptMd5() {
         assertEquals("21232F297A57A5A743894A0E4A801FC3", EncryptUtils
                 .encryptMD5("admin"));
     }
 
-    public void testEncryptSha() throws FtpException {
+    public void testEncryptSha() {
         assertEquals("D033E22AE348AEB5660FC2140AEC35850C4DA997", EncryptUtils
                 .encryptSHA("admin"));
     }