You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2023/07/03 22:42:26 UTC

[mina-ftpserver] branch 1.2.X updated: Minor javadoc typo fix

This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch 1.2.X
in repository https://gitbox.apache.org/repos/asf/mina-ftpserver.git


The following commit(s) were added to refs/heads/1.2.X by this push:
     new 1797cda3 Minor javadoc typo fix
1797cda3 is described below

commit 1797cda3ecbed5aa8b870848bc31d5d92c65b9a2
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Tue Jul 4 00:42:23 2023 +0200

    Minor javadoc typo fix
---
 .../org/apache/ftpserver/usermanager/ClearTextPasswordEncryptor.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/java/org/apache/ftpserver/usermanager/ClearTextPasswordEncryptor.java b/core/src/main/java/org/apache/ftpserver/usermanager/ClearTextPasswordEncryptor.java
index 9792bff3..2a6e9219 100644
--- a/core/src/main/java/org/apache/ftpserver/usermanager/ClearTextPasswordEncryptor.java
+++ b/core/src/main/java/org/apache/ftpserver/usermanager/ClearTextPasswordEncryptor.java
@@ -22,13 +22,12 @@ package org.apache.ftpserver.usermanager;
 import org.apache.ftpserver.util.PasswordUtil;
 
 /**
- * Password encryptor that does no encryption, that is, keps the
+ * Password encryptor that does no encryption, that is, keeps the
  * password in clear text
  *
  * @author <a href="http://mina.apache.org">Apache MINA Project</a>
  */
 public class ClearTextPasswordEncryptor implements PasswordEncryptor {
-
     /**
      * Returns the clear text password
      */
@@ -43,6 +42,7 @@ public class ClearTextPasswordEncryptor implements PasswordEncryptor {
         if(storedPassword == null) {
             throw new NullPointerException("storedPassword can not be null");
         }
+        
         if(passwordToCheck == null) {
             throw new NullPointerException("passwordToCheck can not be null");
         }