From c775bcc140f3d0d28b06590af90a0ebceff76368 Mon Sep 17 00:00:00 2001 From: Zakaria Shahen <35308232+zakaria-shahen@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:55:07 +0200 Subject: [PATCH 1/2] applying miss @Override for paint() method --- src/refactoring_guru/composite/example/shapes/Circle.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/refactoring_guru/composite/example/shapes/Circle.java b/src/refactoring_guru/composite/example/shapes/Circle.java index 98fd6db..91dc168 100644 --- a/src/refactoring_guru/composite/example/shapes/Circle.java +++ b/src/refactoring_guru/composite/example/shapes/Circle.java @@ -19,7 +19,8 @@ public int getWidth() { public int getHeight() { return radius * 2; } - + + @Override public void paint(Graphics graphics) { super.paint(graphics); graphics.drawOval(x, y, getWidth() - 1, getHeight() - 1); From 3737cd49c450031158c27f2eb431f9ec57487d19 Mon Sep 17 00:00:00 2001 From: Izzat Karimov <108251704+izzatkarimov@users.noreply.github.com> Date: Sun, 9 Mar 2025 21:32:15 +0100 Subject: [PATCH 2/2] Improve README Clarity and Formatting Hey, I made a few changes to make the README clearer and more concise in certain parts --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25603de..05045aa 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,13 @@ After importing the project, you will be able to run examples by right-clicking ## Roadmap -- [ ] Add detailed comments all classes. +- [ ] Add detailed comments to all classes. - [ ] Add structure-only examples. ## Contributor's Guide -We appreciate any help, whether it's a simple fix of a typo or a whole new example. Just [make a fork](https://help.github.com/articles/fork-a-repo/), do your change and submit a [pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/). +We appreciate any help, whether it's a simple fix of a typo or a whole new example. Just [make a fork](https://help.github.com/articles/fork-a-repo/), make your changes, and submit a [pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/). Here's a style guide which might help you to keep your changes consistent with our code: @@ -79,7 +79,7 @@ Here's a style guide which might help you to keep your changes consistent with o */ ``` - Don't be scared and ignore the non-English part of such comments. If you want to change something in a comment like this, then do it. Even if you do it wrong, we'll tell you how to fix it during the Pull Request. + Don't be scared and ignore the non-English part of such comments. If you want to change a comment like this, then feel free to do so. Even if you do it wrong, we'll tell you how to fix it during the Pull Request. ## License