私はスーパークラスFooを持っています。そして、それを拡張するクラス バー。
public class Bar extends Foo
Foo の関数:
protected void saveAll(Collection<?> many)
バーでの機能:
public void saveAll(Collection<MyClass> stuff) {
super.saveAll(stuff);
}
取得エラー:
Name clash: The method saveAll(Collection<MyClass>) of type Bar has the same erasure as saveAll(Collection<?>) of type Foo but does not override it.
私は何を間違っていますか?