Bug 419454 - For each loop in line can be done better
Summary: For each loop in line can be done better
Status: RESOLVED MOVED
Alias: None
Product: kmix
Classification: Applications
Component: KMix Panel Docking (other bugs)
Version First Reported In: unspecified
Platform: Other All
: NOR minor
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-31 14:49 UTC by ziadxkabakibi
Modified: 2020-04-15 08:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ziadxkabakibi 2020-03-31 14:49:35 UTC
SUMMARY
This "for each" loop can be improved by using for(a : b) which is described better here: 
https://stackoverflow.com/questions/22836277/what-is-the-difference-between-for-each-in-and-for
Comment 1 Christoph Feck 2020-04-15 08:24:54 UTC
Since this ticket misses source file/line number information, I am assuming you are referring to the same location as in bug 419455.