Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler error #19

Open
foobnix opened this issue Dec 4, 2018 · 1 comment
Open

Compiler error #19

foobnix opened this issue Dec 4, 2018 · 1 comment

Comments

@foobnix
Copy link

foobnix commented Dec 4, 2018

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.

@andiwand
Copy link
Owner

if you add a PR to that issue i would merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants