From: Roland Häder Date: Tue, 3 May 2016 10:02:55 +0000 (+0200) Subject: use interface, not class ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d66eb2de6175394109c1094dc841ea69c4e7cf1b;p=juser-login-core.git use interface, not class ... --- diff --git a/src/org/mxchange/jusercore/container/login/LoginContainer.java b/src/org/mxchange/jusercore/container/login/LoginContainer.java index e35db5e..87014e9 100644 --- a/src/org/mxchange/jusercore/container/login/LoginContainer.java +++ b/src/org/mxchange/jusercore/container/login/LoginContainer.java @@ -53,4 +53,5 @@ public interface LoginContainer extends Serializable { * @param userPassword User password */ void setUserPassword (final String userPassword); + } diff --git a/src/org/mxchange/jusercore/model/user/UserUtils.java b/src/org/mxchange/jusercore/model/user/UserUtils.java index 1cbb94d..daa47e8 100644 --- a/src/org/mxchange/jusercore/model/user/UserUtils.java +++ b/src/org/mxchange/jusercore/model/user/UserUtils.java @@ -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 { *

* @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