From d66eb2de6175394109c1094dc841ea69c4e7cf1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 3 May 2016 12:02:55 +0200 Subject: [PATCH] use interface, not class ... --- src/org/mxchange/jusercore/container/login/LoginContainer.java | 1 + src/org/mxchange/jusercore/model/user/UserUtils.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5