Example
public class
ClassA
{
static void
staticMethod () {
}
}
class
ClassB
extends
ClassA {
static void
staticMethod() {
}
}
Solution
Avoid overriding inherited static methods. Consider keeping the parent method and use a different name for the child method.