It's possible to prevent duplicated URL on
URL come dynamically, so, I don't know what is the url that will come, it can come with and without bar on final. I need to add all url's on
Set preventing adding the same URL.
I know that bars on final make the URL different, but it's possible to prevent it on
private var urlList: MutableSet<URL> = mutableSetOf()
private var urlList: MutableSet<String> = mutableSetOf()
Kotlin, but sample in
Java are welcome.