commit | c4ad9be578f22e240b28af2ca89f83ac18179cd1 | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Sat Jan 16 09:13:20 2010 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Sat Jan 16 09:13:20 2010 +0000 |
tree | 8c0b6665ec5379a61bffb0694a090d750a3b649e | |
parent | db57aa0df9f83ff035bedb7e0afc447d0214acc0 [diff] |
THRIFT-675. java: Generated findByValue() should just switch on value instead of mapping This patch removes the map-based enum value lookup and replaces it with a static switch statement. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@899911 13f79535-47bb-0310-9956-ffa450edef68