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)
12
12
13
13
public override void Revert ( Package package )
14
14
{
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." ) ;
16
16
}
17
17
18
18
public override void PrintStatus ( )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public void IncreaseTemperature()
29
29
30
30
Console . WriteLine ( $ "Temperature is increased.") ;
31
31
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 } ") ;
33
33
Console . WriteLine ( ) ;
34
34
}
35
35
@@ -39,7 +39,7 @@ public void DecreaseTemperature()
39
39
40
40
Console . WriteLine ( $ "Temperature is decreased.") ;
41
41
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 } ") ;
43
43
Console . WriteLine ( ) ;
44
44
}
45
45
}
You can’t perform that action at this time.
0 commit comments