public class Violation {
public void violate() {
List<String> values = Arrays.asList("Stop", "pointing", "fingers", "steve");
delete(new ArrayList<String>(values)); // Noncompliant [[sc=26;ec=32]]
}
private void delete(List<String> strings) {
// Do this.
}
}
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/ee580e06-dd2f-4246-beec-b1370b1e4a95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.