Skip to content
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

Hw solution1 #1717

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

dantesworld
Copy link

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on implementing the main functionality! 🎉 While there are a few minor improvements suggested, such as refactoring the static method in ColorSupplier and addressing magic numbers and access modifiers, these don't critically impact the functionality of your code. Keep up the good work and consider these suggestions for future enhancements. Your code is ready to go! 🚀

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

@@ -1,7 +1,10 @@
package core.basesyntax;

import java.util.Random;

public class ColorSupplier {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method getRandomColor is static. According to the checklist, static methods are generally discouraged. Consider refactoring this to an instance method if feasible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants