Yelp / parcelgen

Helpful tool to make data objects easier for Android
Other
65 stars 35 forks source link

enum: Inconsistency when naming values. #36

Closed redwarp closed 8 years ago

redwarp commented 8 years ago

When declaring an enum a .json file, after running parcel gen, the different values of the enum are created in PascalCase.

This is rather inconsistent with the generic consensus for this, which would be to use SCREAMING_SNAKE_CASE.

And actually, in our Yelp apps, we 99% of the time use the SCREAMING_SNAKE_CASE. The official java tutorial (https://docs.oracle.com/javase/tutorial/java/javaOO/enum.html) uses that as well.

jbrick commented 8 years ago

Should be fixed now.