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

Removed unused variable, fix Java 9 issue #159

Merged
merged 1 commit into from Sep 25, 2017

Conversation

chli1
Copy link
Contributor

@chli1 chli1 commented Sep 25, 2017

BuildInOSProducer does not work with Java 9 because the offending line expects the version number to have at leased 3 characters. Starting with Java 9 it contains only a single character '9', so this code fails with out of bounds exception.
The variable 'version' is not used at all so it can be deleted, resolving the problem described above.

Removed unused variable assignment which fails in Java 9 due to changed version schema
@dvayanu dvayanu merged commit abd3900 into anotheria:master Sep 25, 2017
@dvayanu
Copy link
Member

dvayanu commented Sep 25, 2017

Thanks, merged, part of master now.

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

Successfully merging this pull request may close these issues.

None yet

2 participants