Skip to content

Use class instead of bean. #23

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

Merged
merged 1 commit into from
Jul 5, 2016
Merged

Conversation

sboekhoff
Copy link
Contributor

A class should only be called 'bean', if:

  • all properties are private (use getters/setters)
  • it implements the Serializable interface
  • it has a public default constructor

See: http://stackoverflow.com/questions/3295496/what-is-a-javabean-exactly

A class should only be called 'bean', if:

* all properties are private (use getters/setters)
* it implements the Serializable interface
* it has a public default constructor

See: http://stackoverflow.com/questions/3295496/what-is-a-javabean-exactly
@winterbe
Copy link
Owner

winterbe commented Jul 5, 2016

You're right. Thanks for the fix.

@winterbe winterbe merged commit 26c0588 into winterbe:master Jul 5, 2016
@sboekhoff sboekhoff deleted the sboekhoff branch August 16, 2016 13:10
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.

2 participants