Beispiel

public class ClassA {
String s;
public void methodA {
s = new Integer(1).toString();
}

}
Lösung
Ersetzen Sie die Angabe durch 'Integer.toString(1)'.

public class ClassA {
String s;
public void methodA {
s = Integer.toString(1);
}

}