Skip to content

Commit 4ac8194

Browse files
remove superfluous parentheses from conditions
1 parent b129da1 commit 4ac8194

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class MoneyPile {
4949

5050
while canTakeSomeBill(v) {
5151

52-
if (q == 0) {
52+
if q == 0 {
5353
break
5454
}
5555

@@ -1006,7 +1006,7 @@ class CurrentComputer : DoorOperator {
10061006

10071007
func openDoors(doors: String) -> String {
10081008

1009-
if (computer == nil) {
1009+
if computer == nil {
10101010
return "Access Denied. I'm afraid I can't do that."
10111011
}
10121012

@@ -1066,4 +1066,4 @@ Info
10661066

10671067
📖 Descriptions from: [Gang of Four Design Patterns Reference Sheet](http://www.blackwasp.co.uk/GangOfFour.aspx)
10681068

1069-
🚀 How to generate playground (+zip) from this README: [GENERATE.markdown](https://github.com/ochococo/Design-Patterns-In-Swift/blob/master/GENERATE.markdown)
1069+
🚀 How to generate playground (+zip) from this README: [GENERATE.markdown](https://github.com/ochococo/Design-Patterns-In-Swift/blob/master/GENERATE.markdown)

0 commit comments

Comments
 (0)