Skip to content

Commit ebcc857

Browse files
committed
Proxy pattern grammar fixes
1 parent 11efae3 commit ebcc857

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Provide a surrogate or placeholder for another object to control access to it.
2020

2121
## Explanation
2222

23-
Real world example
23+
Real-world example
2424

2525
> Imagine a tower where the local wizards go to study their spells. The ivory tower can only be
2626
> accessed through a proxy which ensures that only the first three wizards can enter. Here the proxy
@@ -142,7 +142,7 @@ applicable.
142142
* Protection proxy controls access to the original object. Protection proxies are useful when
143143
objects should have different access rights.
144144

145-
## Typical Use Case
145+
Typically, the proxy pattern is used to
146146

147147
* Control access to another object
148148
* Lazy initialization

0 commit comments

Comments
 (0)