Skip to content

Commit

Permalink
feat(email connector): checkpoint on email connector 16
Browse files Browse the repository at this point in the history
  • Loading branch information
mathias-vandaele committed Aug 30, 2024
1 parent dc487dd commit 1cc54b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private List<String> createInboxList(Object folderToListen) {
return switch (folderToListen) {
case null -> List.of("");
case List<?> list -> list.stream().map(Object::toString).toList();
case String string -> Arrays.stream(string.split(",")).toList();
case String string -> List.of(string.split(","));
default ->
throw new IllegalStateException(
"Unexpected value: " + folderToListen + ". List or String was expected");
Expand Down

0 comments on commit 1cc54b1

Please sign in to comment.