-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing parameter for RenderLargeRectangles #100
base: master
Are you sure you want to change the base?
Conversation
Changed Rectangle to Rectangle[] in Good example for Liskov Substitution Principle (LSP).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need more changes
@@ -2141,7 +2141,7 @@ class Square : ShapeBase | |||
} | |||
} | |||
|
|||
Drawable RenderLargeRectangles(Rectangle rectangles) | |||
Drawable RenderLargeRectangles(Rectangle[] rectangles) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, make same into 2080 line, for "Bad" example
Conflict PR - #75 |
Fixed "Bad" example #101 |
README.md
Outdated
@@ -1830,7 +1830,8 @@ class Employee | |||
|
|||
- [S: Single Responsibility Principle (SRP)](#single-responsibility-principle-srp) | |||
- [O: Open/Closed Principle (OCP)](#openclosed-principle-ocp) | |||
- [L: Liskov Substitution Principle (LSP)](#liskov-substitution-principle-lsp) | |||
- [L: | |||
v Substitution Principle (LSP)](#liskov-substitution-principle-lsp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excessed change. And new error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I use search filter to find faster, but then I see error. I fixed this in here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now correct
Changed Rectangle to Rectangle[] in Good example for Liskov Substitution Principle (LSP).