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

Make OCPP library compatible with Android 8 #116

Merged
merged 1 commit into from
May 7, 2020
Merged

Make OCPP library compatible with Android 8 #116

merged 1 commit into from
May 7, 2020

Conversation

robert-s-ubi
Copy link
Contributor

Android 8's Jack has issues processing class files with lambda
operations that implicitly use classes which are not part of the
project, resulting in build failures.

Replace the four occurrences where such lambdas are used with
functionally identical but less shorthand code, so that the OCPP
library will build for Android 8.

Android 8's Jack has issues processing class files with lambda
operations that implicitly use classes which are not part of the
project, resulting in build failures.

Replace the four occurrences where such lambdas are used with
functionally identical but less shorthand code, so that the OCPP
library will build for Android 8.
@robert-s-ubi
Copy link
Contributor Author

Please consider this pull request for merging into the master. It is only a minor change that helps compatibility a lot.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 44.154% when pulling 5366426 on robert-s-ubi:master into 72c0f61 on ChargeTimeEU:master.

@robert-s-ubi
Copy link
Contributor Author

I don't know why the integration test failed on Travis. Locally on my machine it passes both with and without my change!?!

Copy link
Member

@TVolden TVolden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@TVolden
Copy link
Member

TVolden commented May 7, 2020

Where are my manners?
Hi @robert-s-ubi

Thank you for this contribution! :D I really appreciate that you share this knowledge and have taken extra effort to improved my little library. Thanks!

The IT are unstable, I'll try to rerun them. My guess is, that Travis assigns minimal resources to the virtual machine that runs the test.

@TVolden TVolden merged commit 0a55207 into ChargeTimeEU:master May 7, 2020
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.

3 participants