ballerina-lang
ballerina-lang copied to clipboard
[Refactoring] Replace 'for loop' with 'enhanced for'
Purpose
This replaces for loops which iterate over collections or arrays and can be replaced with an enhanced for loop.
Check List
- [x] Read the Contributing Guide
- [ ] Updated Change Log
- [ ] Checked Tooling Support (#<Issue Number>)
- [ ] Added necessary tests
- [ ] Unit Tests
- [ ] Spec Conformance Tests
- [ ] Integration Tests
- [ ] Ballerina By Example Tests
- [ ] Increased Test Coverage
- [ ] Added necessary documentation
- [ ] API documentation
- [ ] Module documentation in Module.md files
- [ ] Ballerina By Examples