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

Declare an enum without that "static" #496

Closed
lichtin opened this issue Jan 26, 2016 · 1 comment
Closed

Declare an enum without that "static" #496

lichtin opened this issue Jan 26, 2016 · 1 comment
Milestone

Comments

@lichtin
Copy link

lichtin commented Jan 26, 2016

An enum like

"myEnum" : { "type" : "string", "enum" : ["one", "secondOne", "3rd one"] }

currently becomes

public static enum MyEnum {

However, the "static" is redundant and should be left out.

@joelittlejohn
Copy link
Owner

Thanks for raising this!

@joelittlejohn joelittlejohn added this to the 0.4.19 milestone Jan 31, 2016
SpaceBison pushed a commit to SpaceBison/jsonschema2pojo that referenced this issue Feb 1, 2016
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

No branches or pull requests

2 participants