THRIFT-2874

Although these values are protected, it is harmless because it's inherited by TDenseProtocol alone only to use its methods (See TDenseProtocol.h comment for the intention), not data members.

https://issues.apache.org/jira/browse/THRIFT-2874