viviel created TUBEMQ-98:
----------------------------
Summary: Fix typo & Simplify 'instanceof' judgment
Key: TUBEMQ-98
URL: https://issues.apache.org/jira/browse/TUBEMQ-98
Project: Apache TubeMQ
Issue Type: Improvement
Reporter: viviel
Assignee: viviel
1. Fix type
ared -> area
partionStr -> partitionStr
getPartitonByKey -> getPartitionByKey
2. Simplify 'instanceof' judgment
This code
{code:java}
if (e instanceof IOException || e instanceof Exception) {
//
}
{code}
It can be replaced by the following code
{code:java}
if (e instanceof Exception) {
//
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)