Skip to content

Commit 6449c49

Browse files
update documentation parts and playground to remove superfluous opening parens
1 parent 4ac8194 commit 6449c49

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

Design-Patterns.playground.zip

-4 Bytes
Binary file not shown.

Design-Patterns.playground/section-2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class MoneyPile {
1919

2020
while canTakeSomeBill(v) {
2121

22-
if (q == 0) {
22+
if q == 0 {
2323
break
2424
}
2525

Design-Patterns.playground/section-76.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CurrentComputer : DoorOperator {
2424

2525
func openDoors(doors: String) -> String {
2626

27-
if (computer == nil) {
27+
if computer == nil {
2828
return "Access Denied. I'm afraid I can't do that."
2929
}
3030

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)

docs/behavioral/chain_of_responsibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MoneyPile {
2626

2727
while canTakeSomeBill(v) {
2828

29-
if (q == 0) {
29+
if q == 0 {
3030
break
3131
}
3232

docs/structural/protection_proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CurrentComputer : DoorOperator {
3232

3333
func openDoors(doors: String) -> String {
3434

35-
if (computer == nil) {
35+
if computer == nil {
3636
return "Access Denied. I'm afraid I can't do that."
3737
}
3838

0 commit comments

Comments
 (0)