Refactor static member invocation
Someone used a static method. Refactor the method into a static import while fixing the assertion.
import org.Assert;
C{
m(){
Assert.assertEquals(42, "Meaning of life");
}
}
import static org.Assert.assertEquals;
C{
m(){
assertEquals("Meaning of life", "Meaning of life");
}
}