Harshit Luthra avatar

Added SerialVersionUID to OpenFoodFacts

sachincool

Published: 18 Feb 2018 › Updated: 18 Feb 2018Added SerialVersionUID to OpenFoodFacts

Added SerialVersionUID to OpenFoodFacts

Open Food Facts is an org which combines data science and food ingredients together to output a variety of user helpfull detailed view on products.
In the app of OFF you can add a product picture,Barcode, Details of ingredients
The app uses an OCR and stores the data in the OFF server.
It's open and readable to all . They accept Crowdin translations and are Open to internationalization.

Bug Fixes

#569
#781

The problem :

The problem was that there were Some warnings in the IDE for the classes which implements Serializable Interface.

Solution

There is need of an SerialVersionUID in every class which implements Serializable interface
Normally the compiler automatically creates this variable and puts a compiler generated value in it.

Describe briefly how you fixed the issue(s).

https://dzone.com/articles/what-is-serialversionuid?fromrel=true

https://javapapers.com/core-java/serialversionuid-in-java-serialization/

Linked pull requests

#736
#785
Here are some Articles i used to research for this problem.

  • Technology Stack
    NodeJs For backend
    Android native app and ios native App

  • How to contribute?
    Go to the Repository and pick some issues,
    Join the mailing list and chat on Slack



Posted on Utopian.io - Rewarding Open Source Contributors

Leave Added SerialVersionUID to OpenFoodFacts to:

Written by

*,..,* Sarcasm is my bitch ~!! I like my chocolates just like my humour....... Dark Very Very Dark

Read more #utopian-io posts


Best Posts From Harshit Luthra

We have not curated any of sachincool's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Harshit Luthra