Skip to content

Commit f86f21f

Browse files
authored
Fix output in structural example of Composite
1 parent 6433944 commit f86f21f

File tree

1 file changed

+2
-2
lines changed
  • src/RefactoringGuru/Composite/Structural

1 file changed

+2
-2
lines changed

src/RefactoringGuru/Composite/Structural/Output.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ RESULT: Leaf
44
Client: Now I get a composite tree:
55
RESULT: Branch(Branch(Leaf+Leaf)+Branch(Leaf))
66

7-
Client: I can merge two components without checking their classes:
8-
RESULT: Branch(Branch(Leaf+Leaf)+Branch(Leaf)+Leaf)
7+
Client: I don't need to check the components classes even when managing the tree::
8+
RESULT: Branch(Branch(Leaf+Leaf)+Branch(Leaf)+Leaf)

0 commit comments

Comments
 (0)