You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by " Kaige Liu (Jira)" <ji...@apache.org> on 2019/12/20 22:56:00 UTC
[jira] [Created] (KYLIN-4311) Fix bugs in Sonar to be compliant
Kaige Liu created KYLIN-4311:
---------------------------------
Summary: 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
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)