Exemple
public
class
ClassA {
String s;
public void
methodA {
s =
new
Integer(1).toString();
}
}
Solution
Remplacez l'appel de méthode par Integer.toString(1)
public
class
ClassA {
String s;
public void
methodA {
s = Integer.toString(1);
}
}