Closed
Description
Using HttpUrl.parse()
in Kotlin to parse constant urls that you know will parse is slightly annoying because of the nullable return.
I've worked around it by writing a static method parseHttpUrlOrThrow()
but this essentially duplicates the existing HttpUrl.getChecked()
, which is unfortunately package private. It would be useful if this method was public.