Skip to content

Commit 8957b94

Browse files
Alejandro Gervasioadamd1985
authored andcommitted
Initial Commit (eugenp#3045)
1 parent 9685875 commit 8957b94

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎patterns/template-method/src/main/java/com/baeldung/templatemethodpattern/model/ComputerBuilder.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public final Computer buildComputer() {
2020
public abstract void addMotherboard();
2121

2222
public abstract void setupMotherboard();
23-
23+
2424
public abstract void addProcessor();
25-
25+
2626
public List<String> getMotherboardSetupStatus() {
2727
return moterboardSetupStatus;
2828
}

‎patterns/template-method/src/test/java/com/baeldung/templatemethodpatterntest/TemplateMethodPatternTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void givenHightEndProcessor_whenAddingProcessor_thenEqualAssertion() {
7777
}
7878

7979
@Test
80-
public void givenAllHighEnddParts_whenBuildingComputer_thenTwoParts() {
80+
public void givenAllHighEndParts_whenBuildingComputer_thenTwoParts() {
8181
highEndComputerBuilder.buildComputer();
8282
assertEquals(2, highEndComputerBuilder.getComputerParts().size());
8383
}

0 commit comments

Comments
 (0)