dockerzhang opened a new issue #697:
URL: https://github.com/apache/incubator-inlong/issues/697


   <p>1. Fix type<br/>
   ared -> area<br/>
   partionStr -> partitionStr<br/>
   getPartitonByKey -> getPartitionByKey</p>
   
   <p>2. Simplify 'instanceof' judgment<br/>
   This code</p>
   <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
   <pre class="code-java">
   <span class="code-keyword">if</span> (e <span 
class="code-keyword">instanceof</span> IOException || e <span 
class="code-keyword">instanceof</span> Exception) {
       <span class="code-comment">//
   </span>}
   </pre>
   </div></div>
   <p>It can be replaced by the following code</p>
   <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
   <pre class="code-java">
   <span class="code-keyword">if</span> (e <span 
class="code-keyword">instanceof</span> Exception) {
       <span class="code-comment">//
   </span>}
   </pre>
   </div></div>
   <i>JIRA link - <a 
href="https://issues.apache.org/jira/browse/INLONG-98";>[INLONG-98]</a> created 
by viviel</i>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to