[
https://issues.apache.org/jira/browse/TUBEMQ-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264531#comment-17264531
]
ASF subversion and git services commented on TUBEMQ-511:
--------------------------------------------------------
Commit b3b78037ff86db8a0539a2928a43942770e39ab8 in incubator-tubemq's branch
refs/heads/master from gosonzhang
[ https://gitbox.apache.org/repos/asf?p=incubator-tubemq.git;h=b3b7803 ]
[TUBEMQ-511]Replace the conditional operator (?:) with mid()
> 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
> 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)