File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/BehavioralPatterns/State/StateLibrary Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 ( )
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments