Fix sonar issue S2293 Replace the type specification in this constructor call with the diamond operator ('<>')#1091
Conversation
…tor call with the diamond operator ('<>')
Yes this is due to an external resource (ECOD) having downtime for the last week or so. I have notified them and I'm hoping for it to come back soon.
That sounds like a bug in that test. Thanks for reporting. Can't test it myself directly because I don't have windows at hand. Could you create an issue? |
josemduarte
left a comment
There was a problem hiding this comment.
This is wonderful, thank you! This will drastically reduce the number of warnings in IDE

Java uses angular brackets (< and >) to provide a specific type (the "type argument") to a generic type. For instance, List is a generic type, so a list containing strings can be declared with List.
Indepth, our Java code remediation solution, has detected and corrected 1103 violations of this type in the current version of the Biojava project. Manually, this correction would have taken more than 2 days.
We suggest that you correct this to improve the quality and maintainability of the code.