79281499

Date: 2024-12-14 22:21:28
Score: 2
Natty:
Report link

Instead of java.net.URL use URI

    val uri = URI.create(yamlUrl)
    //Then you can just use .toURL() to get the url
    val connection = uri.toURL().openConnection()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: JREalDeal