[
https://issues.apache.org/jira/browse/TUBEMQ-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guocheng Zhang resolved TUBEMQ-511.
-----------------------------------
Fix Version/s: 0.8.0
Resolution: Fixed
> 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
> Assignee: Guocheng Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.8.0
>
> Time Spent: 40m
> 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)