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

Add SerialVersionUID to Nutriments.java #736

Merged
merged 1 commit into from
Feb 16, 2018
Merged

Add SerialVersionUID to Nutriments.java #736

merged 1 commit into from
Feb 16, 2018

Conversation

sachincool
Copy link
Contributor

@sachincool sachincool commented Feb 13, 2018

fix #569

Helpful articles at :- https://dzone.com/articles/what-is-serialversionuid?fromrel=true
And https://javapapers.com/core-java/serialversionuid-in-java-serialization/

It's a basic need so we don't get InvalidClassException

This PR solves Error The serializable class Nutriments does not declare a static final serialVersionUID field of type long

@samagra14
Copy link
Contributor

@sachincool Please change the class name from Lion to Nutriments.

@sachincool
Copy link
Contributor Author

@samagra14 i can't see "Lion" Class in the file changes. where are you specifying it ?

@samagra14
Copy link
Contributor

samagra14 commented Feb 14, 2018

In the last line of your PR description. "This PR resolves Error: The serializable class Lion "
@sachincool

@sachincool
Copy link
Contributor Author

@samagra14 Done. 👍

@ghost
Copy link

ghost commented Feb 16, 2018

This PR is waiting on @itchix review

@ghost
Copy link

ghost commented Feb 16, 2018

We should get fixed the other Serializable Classes: #569 (comment)

@itchix itchix merged commit ebe776c into openfoodfacts:master Feb 16, 2018
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.

The serializable class Nutriments does not declare a static final serialVersionUID field of type long
3 participants