You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/13 11:54:00 UTC
[jira] [Updated] (TUBEMQ-511) Replace the conditional operator (?:)
with mid()
[ https://issues.apache.org/jira/browse/TUBEMQ-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated TUBEMQ-511:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)