Skip to content

Removed unused variable, fixes java 9 issues#1

Open
chli1 wants to merge 1 commit intomasterfrom
chli1-patch-1
Open

Removed unused variable, fixes java 9 issues#1
chli1 wants to merge 1 commit intomasterfrom
chli1-patch-1

Conversation

@chli1
Copy link
Owner

@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 there is 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
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.

1 participant