Skip to content

Commit 5183515

Browse files
committed
Fix return type of child classes
1 parent d000a2e commit 5183515

File tree

1 file changed

+1
-1
lines changed
  • _notes/software-architecture/refactoring

1 file changed

+1
-1
lines changed

_notes/software-architecture/refactoring/catalog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ layout: notes
3535

3636

3737
# Replace Conditional with Polymorphism (after)
38-
<img src="https://yuml.me/diagram/class/[{abstract}bird|%20|%20+%20get_speed():number{abstract}],[european|%20|%20+%20get_speed():real],[african|%20|%20+%20get_speed():real],[norwegian_blue|%20|%20+%20get_speed():real],[{abstract}bird]^-[european],[{abstract}bird]^-[african],[{abstract}bird]^-[norwegian_blue]" alt="Replace Conditional with Polymorphism example"/>
38+
<img src="https://yuml.me/diagram/class/[{abstract}bird|%20|%20+%20get_speed():number{abstract}],[european|%20|%20+%20get_speed():number],[african|%20|%20+%20get_speed():number],[norwegian_blue|%20|%20+%20get_speed():number],[{abstract}bird]^-[european],[{abstract}bird]^-[african],[{abstract}bird]^-[norwegian_blue]" alt="Replace Conditional with Polymorphism example"/>
3939

4040
# Change Bidirectional Association to Unidirectional - Before
4141
![](https://yuml.me/diagram/class/[order]<*-1%3e[customer])

0 commit comments

Comments
 (0)