public Number sum(String key, long record) {
return concourse.execute(() -> {
TObject result = concourse.thrift().sumKeyRecord(key, record,
concourse.creds(), concourse.transaction(),
concourse.environment());
<BUG>return (Number) Convert.thriftToJava(result);
});</BUG>
}
public Number sum(String key) {
return concourse.execute(() -> {

public Number sum(String key, long record) {
return concourse.execute(() -> {
TObject result = concourse.thrift().sumKeyRecord(key, record,
concourse.creds(), concourse.transaction(),
concourse.environment());
return Numbers.toNumber(
new BigDecimal((String) Convert.thriftToJava(result)));
});
}
public Number sum(String key) {
return concourse.execute(() -> {
