Example

public class ClassA {
private void testMethod () {
}
}


Solution
Remove the unused private method.