X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fgui%2Fmap%2FMapSource.java;h=88ab85aa5e11eb4f45b22c4a0e4cc20ce7708a03;hp=d838ef34d99d47a7f7fe524b8a63e87cf98609b6;hb=a6197ddcaac11c0b943183da7d46169742d024af;hpb=88f2c3647ed9e055090484f01a959d4581f85e7d 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) {