locationtech / udig-platform

uDig parent project containing all core components. More plugins can be found in community repos: http://github.com/uDig-Community
http://udig.refractions.net
190 stars 133 forks source link

Use 'toURI()' before calling 'toURL()' #647

Open sschulz92 opened 2 years ago

sschulz92 commented 2 years ago

With this Pull-Request I want to fully remove the deprecated use of toURL() without calling toURI() beforehand.

I did a research and verified the whole project in regards to the deprecation.

What I did (may be a little bit hard to see due to the formatter):

old:

varX.toURL()

new:

varX.toURI().toURL()