-
Notifications
You must be signed in to change notification settings - Fork 1
Description
src/at/stefl/commons/util/collection/primitive/AbstractPrimitiveBooleanSet.java:5: error: name clash: iterator() in Collection and iterator() in Set have the same erasure, yet neither overrides the other
[javac] public abstract class AbstractPrimitiveBooleanSet extends
[javac] ^
[javac] where E#1,E#2 are type-variables:
[javac] E#1 extends Object declared in interface Collection
[javac] E#2 extends Object declared in interface Set
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
added the line to AbstractPrimitiveBooleanSet
@OverRide
public abstract PrimitiveBooleanIterator iterator();
solve the problem.