Skip to content

Commit e0d7abb

Browse files
author
Oktawian Chojnacki
committed
# By Christian Tietze # Via Christian Tietze * 'patch-1' of https://github.com/DivineDominion/Design-Patterns-In-Swift: update documentation parts and playground to remove superfluous opening parens remove superfluous parentheses from conditions # Conflicts: # Design-Patterns.playground.zip # Design-Patterns.playground/section-2.swift # Design-Patterns.playground/section-76.swift
2 parents a3b0037 + 6449c49 commit e0d7abb

File tree

6 files changed

+6
-1234
lines changed

6 files changed

+6
-1234
lines changed

Design-Patterns.playground.zip

-3 Bytes
Binary file not shown.

Design-Patterns.playground/contents.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class MoneyPile {
5252

5353
while canTakeSomeBill(v) {
5454

55-
if (q == 0) {
55+
if q == 0 {
5656
break
5757
}
5858

@@ -1064,7 +1064,7 @@ class CurrentComputer : DoorOperator {
10641064

10651065
func openDoors(doors: String) -> String {
10661066

1067-
if (computer == nil) {
1067+
if computer == nil {
10681068
return "Access Denied. I'm afraid I can't do that."
10691069
}
10701070

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class MoneyPile {
5555

5656
while canTakeSomeBill(v) {
5757

58-
if (q == 0) {
58+
if q == 0 {
5959
break
6060
}
6161

@@ -1163,7 +1163,7 @@ class CurrentComputer : DoorOperator {
11631163

11641164
func openDoors(doors: String) -> String {
11651165

1166-
if (computer == nil) {
1166+
if computer == nil {
11671167
return "Access Denied. I'm afraid I can't do that."
11681168
}
11691169

0 commit comments

Comments
 (0)