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

fixes major code smells in GenericUtils.java #372

Merged
merged 3 commits into from
Jul 15, 2022
Merged

fixes major code smells in GenericUtils.java #372

merged 3 commits into from
Jul 15, 2022

Conversation

hks1
Copy link
Contributor

@hks1 hks1 commented Jul 14, 2022

  1. Adds a private constructor
  2. Adds missing 'Deprecated' annotation

@@ -9,11 +9,14 @@ public class GenericUtils {

public static final String LOCALHOST = "127.0.0.1";

private GenericUtils() {}
Copy link
Member

Choose a reason for hiding this comment

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

can you please mark this class as final as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

@preetkaran20 preetkaran20 merged commit 93598e6 into SasanLabs:master Jul 15, 2022
@preetkaran20
Copy link
Member

@hks1 Thank you !!!

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