-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use diamond operator (<>
) wherever possible
#3163
Comments
@rohanKanojia Assign me this please! |
@rohanKanojia i wanna work on this issue, being a newbie can you help me in this ? |
@AvineshTripathi : oh, unfortunately someone else picked up this issue. Shall I create another one for you? |
@rohanKanojia sure i would love to work but thing is I m a newbie with knowledge of java and a very little about docker and kubernetes so if you can help me get into contributions that would be really appreciated .. |
I am working on it, you can check the assigned tag above! |
Can I work on this? @rohanKanojia |
@Shatakshi0805 : I'm sorry for the late reply. I was on PTO. I have created some extra issues. Could you please check if you can pick one of these:
good first issue
|
That's not a problem. yes, I will definitely check these issues. Thanks! |
Can I work on this issue? |
it this issue has been solved ?? |
@soham283 : I think all places are still not updated: https://sonarcloud.io/organizations/fabric8io/issues?projects=fabric8io_kubernetes-client&resolved=false&rules=java%3AS2293 |
Then İ would like to work on this issue |
I had already made a pr for this. Can anyone review that? |
assign me this task @rohanKanojia |
any updates, is this issue has been solved or not? |
There are still places where this needs to be fixed. You can see files affected here: https://sonarcloud.io/issues?severities=MINOR |
can you please assign this issue to me? |
can I work on this issue? |
@Ashyum issue is assigned to me it will be great if you can find another issue to work on, since I am following this issue from 2-3 months approx |
Hey @rohanKanojia, is this issues solved or work needed on this? |
There are still some places where we need to fix this Would be awesome if you could fix this if you get time |
Just to clear my mind, I have to do this, Or you can share some resource which can help me understand better |
Yes, you're right. You can take a look into Sonar Rule description[0] [0] https://sonarcloud.io/organizations/fabric8io/rules?open=java%3AS2293&rule_key=java%3AS2293 |
Yes, assign this to me @rohanKanojia |
We're already on Java 8 and we can use this diamond operator which was introduced in Java 7. Yet, there are lots of occurrences in code where we're still not using it. For more information about this, see this Sonar rule[0]
In case anyone is interested in fixing this, you can check all the occurrences where diamond operator could be used here[1]
[0] https://sonarcloud.io/organizations/fabric8io/rules?open=java%3AS2293&rule_key=java%3AS2293
[1] https://sonarcloud.io/organizations/fabric8io/issues?projects=fabric8io_kubernetes-client&resolved=false&rules=java%3AS2293
The text was updated successfully, but these errors were encountered: