Skip to content

Commit 06fc4fd

Browse files
author
Hattinger04
committed
rename class
1 parent 8320b15 commit 06fc4fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/github/Hattinger04/configuration/AdminUserCreator.java renamed to src/main/java/io/github/Hattinger04/configuration/OnStartCreate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@Component
2020
@PropertySource("classpath:settings.properties")
21-
public class AdminUserCreator implements CommandLineRunner {
21+
public class OnStartCreate implements CommandLineRunner {
2222

2323
private final UserRepository userRepository;
2424
private final RoleRepository roleRepository;
@@ -33,7 +33,7 @@ public class AdminUserCreator implements CommandLineRunner {
3333
private String database;
3434

3535
@Autowired
36-
public AdminUserCreator(UserRepository userRepository, CustomPasswordEncoder passwordEncoder,
36+
public OnStartCreate(UserRepository userRepository, CustomPasswordEncoder passwordEncoder,
3737
RoleRepository roleRepository, EntityManager entityManager) {
3838
this.userRepository = userRepository;
3939
this.passwordEncoder = passwordEncoder;

0 commit comments

Comments
 (0)