THRIFT-674. java: Generated read() should just switch directly on field.id This patch gets rid of an unnecessary map lookup and null check in generated structs' read method, amounting a noticeable performance improvement.