When I choose the Remove variable intention in the code below, it gives me a choice from 1 option. See screenshot.
This is correct, but it is worded as if there are multiple options.
[code]
public class Test
{
public static void main(String[] arg)
{
String s = "1" + getString() + "3";
}
private static String getString()
{
return "2";
}
}
[code]