Skip to content

Commit e3e0b85

Browse files
committed
orEmpty fix
1 parent 5d326bc commit e3e0b85

File tree

1 file changed

+2
-2
lines changed
  • plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/workspace

1 file changed

+2
-2
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/workspace/WorkspaceServiceHandler.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class WorkspaceServiceHandler(
166166
}
167167
)
168168
}
169-
} ?: emptyList()
169+
}.orEmpty()
170170
}
171171
is VFileMoveEvent -> {
172172
listOfNotNull(
@@ -198,7 +198,7 @@ class WorkspaceServiceHandler(
198198
}
199199
)
200200
}
201-
} ?: emptyList()
201+
}.orEmpty()
202202
}
203203
}
204204
}

0 commit comments

Comments
 (0)