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

Incompatible Type Error in InstanceMap #9

Open
mishaturnbull opened this issue Feb 3, 2019 · 1 comment
Open

Incompatible Type Error in InstanceMap #9

mishaturnbull opened this issue Feb 3, 2019 · 1 comment
Labels
bug Something isn't working critical Urgent issue help wanted Extra attention is needed

Comments

@mishaturnbull
Copy link
Member

mishaturnbull commented Feb 3, 2019

An error has been introduced in pull #8 that manifests in net.sf.openrocket.rocketcomponent.InstanceMap line 34:

Error:(34, 34) java: incompatible types: java.util.ArrayList<java.lang.Object> cannot be converted to java.util.ArrayList<net.sf.openrocket.rocketcomponent.InstanceContext>

Changing the line from

put(key, new ArrayList<>());

to

put(key, new ArrayList<InstanceContext>());

fixes this particular error, but then there are more issues that pop up in other files relating to a .getClass() method.

@mishaturnbull mishaturnbull added bug Something isn't working help wanted Extra attention is needed critical Urgent issue labels Feb 3, 2019
@mishaturnbull
Copy link
Member Author

Note: this bug does not exist on teyrana/openrocket:alpha12. Opening a PR from that branch into UND-ARC/openrocket:unstable displays one commit different, being commit number bb333ee. Not sure why this commit makes any difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical Urgent issue help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants