]> git.mxchange.org Git - juser-login-core.git/commitdiff
use interface, not class ...
authorRoland Häder <roland@mxchange.org>
Tue, 3 May 2016 10:02:55 +0000 (12:02 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 3 May 2016 10:02:55 +0000 (12:02 +0200)
src/org/mxchange/jusercore/container/login/LoginContainer.java
src/org/mxchange/jusercore/model/user/UserUtils.java

index e35db5eff097a256092ef1431dec961e34f72077..87014e9c0e118e1f6512b8c198cd9ced3b35822c 100644 (file)
@@ -53,4 +53,5 @@ public interface LoginContainer extends Serializable {
         * @param userPassword User password
         */
        void setUserPassword (final String userPassword);
+
 }
index 1cbb94df09fea2ce6c0fa94a80a9ceaf1c53b35b..daa47e82df415c0cfade5d38d9aef931e87b66d6 100644 (file)
@@ -22,7 +22,6 @@ import java.text.MessageFormat;
 import java.util.Random;
 import org.apache.commons.codec.digest.Crypt;
 import org.mxchange.jusercore.container.login.LoginContainer;
-import org.mxchange.jusercore.container.login.UserLoginContainer;
 
 /**
  * An utilities class for users
@@ -166,7 +165,7 @@ public class UserUtils implements Serializable {
         * <p>
         * @return Whether it maches
         */
-       public static boolean ifPasswordMatches (final UserLoginContainer container) {
+       public static boolean ifPasswordMatches (final LoginContainer container) {
                // Validate parameters
                if (null == container) {
                        // Throw NPE