Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4311

Fix bugs in Sonar to be compliant

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v3.1.0
    • None
    • None

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              liukaige Kaige Liu
              liukaige Kaige Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: