Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-627

superfluously null check of SparseIterator.next()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1
    • None
    • None

    Description

      Looking at the implementation of SparseIterator in OpenMapRealVector.OpenMapSparseIterator there is no chance that the entry return by next() is ever null - so there is no need to chek this in nearly every loop?

      Attachments

        Activity

          People

            Unassigned Unassigned
            aploese Arne Plöse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: