[ 
https://issues.apache.org/jira/browse/KYLIN-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003253#comment-17003253
 ] 

ASF subversion and git services commented on KYLIN-4311:
--------------------------------------------------------

Commit 0f86e20154d5913693c13a390f28b70ad6100ef7 in kylin's branch 
refs/heads/master from etherge
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=0f86e20 ]

KYLIN-4311 fix noncompliant interator issue in sonar


> Fix bugs in Sonar to be compliant
> ---------------------------------
>
>                 Key: KYLIN-4311
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4311
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter:  Kaige Liu
>            Assignee:  Kaige Liu
>            Priority: Minor
>
> By contract, any implementation of the {{java.util.Iterator.next()}} method 
> should throw a {{NoSuchElementException}} exception when the iteration has no 
> more elements. Any other behavior when the iteration is done could lead to 
> unexpected behavior for users of this {{Iterator}}.
>  
> [https://sonarcloud.io/project/issues?id=org.apache.kylin%3Akylin&issues=AWExwNw9ikuHJGLsvan_&open=AWExwNw9ikuHJGLsvan_]
> [https://sonarcloud.io/project/issues?id=org.apache.kylin%3Akylin&issues=AWExwNxOikuHJGLsvaoZ&open=AWExwNxOikuHJGLsvaoZ]
> [https://sonarcloud.io/project/issues?id=org.apache.kylin%3Akylin&issues=AWExwOHQikuHJGLsvbDO&open=AWExwOHQikuHJGLsvbDO]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to