mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1129738 - /mina/ftpserver/trunk/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
Date Tue, 31 May 2011 15:09:35 GMT
Author: sebb
Date: Tue May 31 15:09:34 2011
New Revision: 1129738

URL: http://svn.apache.org/viewvc?rev=1129738&view=rev
Log:
Unnecessary throws clause

Modified:
    mina/ftpserver/trunk/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java

Modified: mina/ftpserver/trunk/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java?rev=1129738&r1=1129737&r2=1129738&view=diff
==============================================================================
--- mina/ftpserver/trunk/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
(original)
+++ mina/ftpserver/trunk/core/src/test/java/org/apache/ftpserver/util/EncryptUtilsTest.java
Tue May 31 15:09:34 2011
@@ -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.FtpEx
 */
 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"));
     }



Mime
View raw message