commit | cfd1f0e4990c2008ab76b992dce0df4b3e23a753 | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser@codeaurora.org> | Tue Apr 27 13:47:38 2021 -0600 |
committer | Aditya Gupta <agaditya@codeaurora.org> | Tue May 25 06:57:01 2021 +0000 |
tree | 36d59b4b024ac33702e6d07790fba84b7466ca2c | |
parent | 41fbe2576eac92bd0c5cdbbe3917a4a91f16e23d [diff] |
task: Rewrite method to make it look less buggy A for loop that always returns the first element looks suspicious (and in fact is flagged by SonarQube). We can write this more clearly using an iterator. Change-Id: I9d7191dc78deec17b115b304c69339dde04a5e16