Changeset 4472 in josm


Ignore:
Timestamp:
2011-09-28T21:03:54+02:00 (10 years ago)
Author:
Don-vip
Message:

WMS: avoid confusing message on stdout when server replies the same service URL as entered by user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/AddWMSLayerPanel.java

    r4468 r4472  
    387387        if (child != null) {
    388388            String baseURL = child.getAttribute("xlink:href");
    389             if(baseURL != null) {
     389            if (baseURL != null && !baseURL.equals(serviceUrlStr)) {
    390390                try {
    391391                    System.out.println("GetCapabilities specifies a different service URL: " + baseURL);
Note: See TracChangeset for help on using the changeset viewer.