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

(Ralf Poeppel) #1

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