You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Christopher Tubbs (Jira)" <ji...@apache.org> on 2022/05/10 11:12:00 UTC

[jira] [Resolved] (THRIFT-5582) Improve TProtocol.java

     [ https://issues.apache.org/jira/browse/THRIFT-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs resolved THRIFT-5582.
---------------------------------------
    Fix Version/s: 0.17.0
       Resolution: Fixed

> Improve TProtocol.java
> ----------------------
>
>                 Key: THRIFT-5582
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5582
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Compiler, Java - Library, Kotlin - Compiler
>            Reporter: Liu Jiayu
>            Priority: Minor
>             Fix For: 0.17.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently Kotlin compiler generates an extension file per package in order to enhance TProcotol.java and have a clean generated file. The extension methods are inline only so no impact on the runtime but these methods can further be helpful for Java libraries.
> We can improve the TProtocol.java by incorporating these methods, and also clean up the code a bit by splitting into read and write interfaces.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)