https://issues.apache.org/bugzilla/show_bug.cgi?id=50450

--- Comment #2 from Sebb <[email protected]> 2010-12-10 07:22:35 EST ---
Can't one do the same to the first loop entry? i.e:

      newX[i] = _B[i];

As far as I can tell, it does not matter if newX is overwritten before starting
the loop.

Likewise at the end, there is another copy loop:

        for (i = 0; i < _n; i++) {
            _rS[i + 1] = newX[i];
        }

which might benefit from System.arraycopy.

If FindBugs did not find the last one, then perhaps it needs tweaking ;-)
The second one is perhaps harder (but even better if Findbugs can find it).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to