Skip to content

Commit c853d16

Browse files
committed
Fix java-like brace
1 parent 782a903 commit c853d16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DecoratorPattern/MochaCondiment.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ public MochaCondiment(Beverage beverage)
1212
public override string Description {
1313
get
1414
{
15-
if (_beverage.Description.StartsWith("Mocha")){
15+
if (_beverage.Description.StartsWith("Mocha"))
16+
{
1617
return "Double " + _beverage.Description;
1718
}
1819
else

0 commit comments

Comments
 (0)