Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 08c3f24

Browse files
[clean] Cleaned the constructors
1 parent bc7d084 commit 08c3f24

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

‎d01/d01s03/d01s03e03-pre-and-post-annotations/src/main/java/net/safedata/spring/training/d01/s03/repository/ProductRepository.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
*/
1010
public class ProductRepository {
1111

12-
public ProductRepository() {
13-
System.out.println("The constructor from ProductRepository");
14-
}
15-
1612
@PostConstruct
1713
public void init() {
1814
System.out.println("Initializing the repository, using the PostConstruct annotation...");

‎d01/d01s03/d01s03e03-pre-and-post-annotations/src/main/java/net/safedata/spring/training/d01/s03/service/ProductService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public class ProductService {
1414
private final ProductRepository productRepository;
1515

1616
public ProductService(final ProductRepository productRepository) {
17-
System.out.println("The constructor from ProductService");
1817
this.productRepository = productRepository;
1918
}
2019

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /