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

I fixed the usage of the diamond operator in 'additionalProperties' Map. #3341

Closed

Conversation

BalintViragJ
Copy link

Description

Fixed the lack of diamond operator in the instantiation of additionalProperties Map

Issue number: #3163

Link for the issue:
#3163

@centos-ci
Copy link

Can one of the admins verify this patch?

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@rohanKanojia
Copy link
Member

Sorry for not being clear. You need to fix it in other places as well. Check this link to find other classes with same code smell

https://sonarcloud.io/organizations/fabric8io/issues?projects=fabric8io_kubernetes-client&resolved=false&rules=java%3AS2293

@@ -72,7 +72,6 @@
private java.lang.String serviceType;
@JsonIgnore
private Map<java.lang.String, Object> additionalProperties = new HashMap<java.lang.String, Object>();
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
private Map<java.lang.String, Object> additionalProperties = new HashMap<java.lang.String, Object>();
private Map<java.lang.String, Object> additionalProperties = new HashMap<>();

@rohanKanojia
Copy link
Member

@BalintViragJ: polite ping, are you still working on this? Could you please update this PR as per requested changes?

@rohanKanojia
Copy link
Member

A polite ping, still working on this patch?

@BalintViragJ
Copy link
Author

A polite ping, still working on this patch?

Hi! I am not working on the patch. Sorry for the delay in the reply.

@rohanKanojia
Copy link
Member

Closing this for the moment, please be aware it can anytime be reopened, should you want to continue working

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.

3 participants