JAVA-18116 Review log statements for projects - Week 7 - 2023 (#13583)
JAVA-18116 Review log statements for projects - Week 7 - 2023 (#13583) --------- Co-authored-by: jogra <joseph.sterling.grah@miles.no>
This commit is contained in:
+4
-1
@@ -1,5 +1,8 @@
|
||||
package com.baeldung.templatemethod.model;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class HighEndComputerBuilder extends ComputerBuilder {
|
||||
|
||||
@Override
|
||||
@@ -11,7 +14,7 @@ public class HighEndComputerBuilder extends ComputerBuilder {
|
||||
public void setupMotherboard() {
|
||||
motherboardSetupStatus.add("Screwing the high-end motherboard to the case.");
|
||||
motherboardSetupStatus.add("Pluging in the power supply connectors.");
|
||||
motherboardSetupStatus.forEach(step -> System.out.println(step));
|
||||
motherboardSetupStatus.forEach(step -> log.debug(step));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+5
-2
@@ -1,5 +1,8 @@
|
||||
package com.baeldung.templatemethod.model;
|
||||
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class StandardComputerBuilder extends ComputerBuilder {
|
||||
|
||||
@Override
|
||||
@@ -11,7 +14,7 @@ public class StandardComputerBuilder extends ComputerBuilder {
|
||||
public void setupMotherboard() {
|
||||
motherboardSetupStatus.add("Screwing the standard motherboard to the case.");
|
||||
motherboardSetupStatus.add("Pluging in the power supply connectors.");
|
||||
motherboardSetupStatus.forEach(step -> System.out.println(step));
|
||||
motherboardSetupStatus.forEach(step -> log.debug(step));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user