Skip to content

Commit a315c2d

Browse files
committed
docs: 📝 update Java GCI69 rule description
1 parent 1e070c6 commit a315c2d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
- [#320](https://github.com/green-code-initiative/creedengo-rules-specifications/pull/320) Doc improvement : some method calls are legitimate in a for loop expression.
15+
1416
### Deleted
1517

1618
## [2.2.1] - 2025-01-27

src/main/rules/GCI69/java/GCI69.asciidoc

+4
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ public void foo() {
2424
}
2525
}
2626
----
27+
28+
== Exceptions
29+
Iterator methods such as next() and hasNext() are allowed.
30+
Function calls inside the instanciation of the for loop are allowed.

0 commit comments

Comments
 (0)