<@U0CP8EBRV> commented on <@U0KBF8D7V>’s file <htt...
# intellij
u
@Czar commented on @Paul Woitaschek’s file https://kotlinlang.slack.com/files/U0KBF8D7V/F86UJ8E1Y/-.kt: Regarding formatting, I tend to move same level "stream-like" operation to the same indent level, so here I would position my cursor right after
Single
on line 6 and press enter. Re-format code and voilà!| Regarding the map body itself, to me it looks fine, but if you want more visibility, instead of toOptional you could use
Optional.ofNullable(it.credential.toLoginDetails())
(I guess that's what toOptional wraps).