Ignore:
Timestamp:
2009-11-18T15:10:36+01:00 (15 years ago)
Author:
guggis
Message:

'Updated build.xml'

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  
    1010import java.awt.event.MouseMotionListener;
    1111import java.util.List;
     12import java.util.logging.Logger;
    1213
    1314import javax.swing.DefaultComboBoxModel;
     
    3031
    3132
    32 public class WMSAdjustAction extends MapMode implements
    33     MouseListener, MouseMotionListener{
    34 
     33public class WMSAdjustAction extends MapMode implements MouseListener, MouseMotionListener{
     34        static private final Logger logger = Logger.getLogger(WMSAdjustAction.class.getName());
     35       
    3536    GeorefImage selectedImage;
    3637    boolean mouseDown;
     
    212213   }
    213214
    214 
    215 
    216215        @Override
    217216        protected void updateEnabledState() {
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSLayer.java

    r18597 r18670  
    9191
    9292                executor = Executors.newFixedThreadPool(3);
    93                 if (!baseURL.startsWith("html:") && !WMSGrabber.isUrlWithPatterns(baseURL)) {
     93                if (baseURL != null && !baseURL.startsWith("html:") && !WMSGrabber.isUrlWithPatterns(baseURL)) {
    9494                        if (!(baseURL.endsWith("&") || baseURL.endsWith("?"))) {
    9595                                if (!confirmMalformedUrl(baseURL)) {
Note: See TracChangeset for help on using the changeset viewer.