GitHub user afds opened a pull request: https://github.com/apache/thrift/pull/627
THRIFT-3357: enum_containers option to generate EnumSet/EnumMap Additional java compiler option to generate EnumSet/EnumMap instead of HashSet/HashMap where elements/keys are enums. You can merge this pull request into a Git repository by running: $ git pull https://github.com/afds/thrift THRIFT-3357 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/627.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #627 ---- commit ada7d787007f4d681b3d642f110c301a07d5f706 Author: Deniss Afonin <deniss.afo...@gmail.com> Date: 2015-09-26T17:31:07Z THRIFT-3357: enum_containers option to generate EnumSet/EnumMap Additional java compiler option to generate EnumSet/EnumMap instead of HashSet/HashMap where elements/keys are enums. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---