You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guocheng Zhang (Jira)" <ji...@apache.org> on 2021/01/13 08:56:00 UTC

[jira] [Created] (TUBEMQ-511) Replace the conditional operator (?:) with mid()

Guocheng Zhang created TUBEMQ-511:
-------------------------------------

             Summary: Replace the conditional operator (?:) with mid()
                 Key: TUBEMQ-511
                 URL: https://issues.apache.org/jira/browse/TUBEMQ-511
             Project: Apache TubeMQ
          Issue Type: Improvement
            Reporter: Guocheng Zhang


At present, many places in the code implementation use conditional operators(? : ) for value checking, but it's not very readable, and the MixedUtils.mid() function is used instead



--
This message was sent by Atlassian Jira
(v8.3.4#803005)