Skip to content

Commit 792ca54

Browse files
committed
Fix typos
1 parent a7a4801 commit 792ca54

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/BehavioralPatterns/State/StateLibrary/PackageExample/States/OrderedState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public override void Proceed(Package package)
1212

1313
public override void Revert(Package package)
1414
{
15-
Console.WriteLine("State can't be reverted. Package is ordered state, which is its starting state.");
15+
Console.WriteLine("State can't be reverted. Package is in ordered state, which is its initial state.");
1616
}
1717

1818
public override void PrintStatus()

src/BehavioralPatterns/State/StateLibrary/SteakCookingExample/Steak.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void IncreaseTemperature()
2929

3030
Console.WriteLine($"Temperature is increased.");
3131
Console.WriteLine($"Current temperature is {_state.CurrentTemperature}°C");
32-
Console.WriteLine($"Cooking on this temperature will made the steak: {_state.GetType().Name}");
32+
Console.WriteLine($"Cooking at this temperature will make the steak: {_state.GetType().Name}");
3333
Console.WriteLine();
3434
}
3535

@@ -39,7 +39,7 @@ public void DecreaseTemperature()
3939

4040
Console.WriteLine($"Temperature is decreased.");
4141
Console.WriteLine($"Current temperature is {_state.CurrentTemperature}°C");
42-
Console.WriteLine($"Cooking on this temperature will made the steak: {_state.GetType().Name}");
42+
Console.WriteLine($"Cooking at this temperature will make the steak: {_state.GetType().Name}");
4343
Console.WriteLine();
4444
}
4545
}

0 commit comments

Comments
 (0)