Skip to content

Commit e4f38ad

Browse files
committed
fix sonar issues
1 parent 2f1a318 commit e4f38ad

File tree

1 file changed

+1
-1
lines changed
  • aoc2024/aoc2024-kotlin/src/main/kotlin/de/havox_design/aoc2024/day23

1 file changed

+1
-1
lines changed

aoc2024/aoc2024-kotlin/src/main/kotlin/de/havox_design/aoc2024/day23/LANParty.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class LANParty(private var filename: String) {
66
fun processPart1(): Any {
77
val triangles = HashSet<List<String>>()
88

9-
for ((from, neighbours) in data) {
9+
for ((from, neighbours:Set<String>) in data) {
1010
if (from.startsWith(CHIEF_HISTORIAN_IDENTIFIER)) {
1111
for (u in neighbours) {
1212
for (v in neighbours) {

0 commit comments

Comments
 (0)