squid:S1948 wrongly reported by Sonar 7.7 on ArrayList<String>

Affected code is this simpel declaration
private ArrayList<String> lines = null;

ArrayList as well as String implement Serializable.

SonarQube version is 7.7
Scanner ist ant scanner
Language is Java

This is indeed a false positive, thanks for the reproducer, ticket created to handle the feedback : https://jira.sonarsource.com/browse/SONARJAVA-3149

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.