Changeset 18670 in osm for applications/editors/josm/plugins/wmsplugin/src
- Timestamp:
- 2009-11-18T15:10:36+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin/src/wmsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSAdjustAction.java
r17552 r18670 10 10 import java.awt.event.MouseMotionListener; 11 11 import java.util.List; 12 import java.util.logging.Logger; 12 13 13 14 import javax.swing.DefaultComboBoxModel; … … 30 31 31 32 32 public class WMSAdjustAction extends MapMode implements 33 MouseListener, MouseMotionListener{ 34 33 public class WMSAdjustAction extends MapMode implements MouseListener, MouseMotionListener{ 34 static private final Logger logger = Logger.getLogger(WMSAdjustAction.class.getName()); 35 35 36 GeorefImage selectedImage; 36 37 boolean mouseDown; … … 212 213 } 213 214 214 215 216 215 @Override 217 216 protected void updateEnabledState() { -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSLayer.java
r18597 r18670 91 91 92 92 executor = Executors.newFixedThreadPool(3); 93 if ( !baseURL.startsWith("html:") && !WMSGrabber.isUrlWithPatterns(baseURL)) {93 if (baseURL != null && !baseURL.startsWith("html:") && !WMSGrabber.isUrlWithPatterns(baseURL)) { 94 94 if (!(baseURL.endsWith("&") || baseURL.endsWith("?"))) { 95 95 if (!confirmMalformedUrl(baseURL)) {
Note:
See TracChangeset
for help on using the changeset viewer.