mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
parent
9de857f4c2
commit
1faedf18a0
|
@ -1,7 +1,6 @@
|
||||||
package catering.users;
|
package catering.users;
|
||||||
|
|
||||||
import org.salespointframework.core.DataInitializer;
|
import org.salespointframework.core.DataInitializer;
|
||||||
import org.salespointframework.useraccount.AuthenticationManagement;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
@ -15,7 +14,7 @@ class UserDataInitializer implements DataInitializer {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(UserDataInitializer.class);
|
private static final Logger LOG = LoggerFactory.getLogger(UserDataInitializer.class);
|
||||||
private final UserManagement userManagement;
|
private final UserManagement userManagement;
|
||||||
|
|
||||||
UserDataInitializer(UserManagement userManagement, AuthenticationManagement auth) {
|
UserDataInitializer(UserManagement userManagement) {
|
||||||
Assert.notNull(userManagement, "UserRepository must not be null!");
|
Assert.notNull(userManagement, "UserRepository must not be null!");
|
||||||
this.userManagement = userManagement;
|
this.userManagement = userManagement;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue