Merge pull request #12482 from hkhan/JAVA-13264-fix-article-code

[JAVA-13264] Add missing classes
This commit is contained in:
kwoyke 2022-07-13 10:51:46 +02:00 committed by GitHub
commit 324b8ee7af
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package com.baeldung.constructordi.service;
import org.springframework.stereotype.Repository;
@Repository
public class UserRepository {
}

View File

@ -0,0 +1,11 @@
package com.baeldung.constructordi.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class UserService {
@Autowired
private UserRepository userRepository;
}