X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fgui%2Fmap%2FMapSource.java;h=88ab85aa5e11eb4f45b22c4a0e4cc20ce7708a03;hb=a6197ddcaac11c0b943183da7d46169742d024af;hp=d838ef34d99d47a7f7fe524b8a63e87cf98609b6;hpb=4d5796d02a15808311c09448d79e6e7d1de9d636;p=GpsPrune.git diff --git a/tim/prune/gui/map/MapSource.java b/tim/prune/gui/map/MapSource.java index d838ef3..88ab85a 100644 --- a/tim/prune/gui/map/MapSource.java +++ b/tim/prune/gui/map/MapSource.java @@ -87,6 +87,8 @@ public abstract class MapSource // check prefix try { new URL(urlstr.replace('[', 'w').replace(']', 'w')); + // There's a warning that this URL object isn't used, but it's enough to know the parse + // was successful without an exception being thrown. } catch (MalformedURLException e) {