Skip to content

Commit 3fb43a3

Browse files
committed
26
1 parent 4c7b9eb commit 3fb43a3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Chapters/26_Surrogate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Surrogate
22

33
Both *Proxy* and *State* provide a surrogate class that you use in your code.
4-
This surrogate class hides the real class that does the work.
4+
The surrogate hides the real class that does the work.
55
When you call a method in the surrogate,
66
it calls that method in the implementing class.
77
The two patterns are so similar that *Proxy* is a special case of *State*.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ Note that I am not starting at the beginning, but picking up where I left off du
110110
| 22_Data_Transfer_Objects.md | |
111111
| 23_Iterators.md | |
112112
| 24_Singleton.md | |
113-
| 25_Template_Method.md |O|
114-
| 26_Surrogate.md | |
113+
| 25_Template_Method.md |X|
114+
| 26_Surrogate.md |O|
115115
| 27_Factory.md | |
116116
| 28_Function_Objects.md | |
117117
| 29_Changing_the_Interface.md | |

0 commit comments

Comments
 (0)