Ignore:
Timestamp:
2014-12-19T17:12:01+01:00 (11 years ago)
Author:
donvip
Message:

[josm_cadastre-fr] replace calls to System.out/err by calls to Main.info/warn/error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java

    r30532 r30859  
    5252    }
    5353
    54     public void actionPerformed(ActionEvent e) {
     54    @Override
     55        public void actionPerformed(ActionEvent e) {
    5556        WMSLayer wmsLayer = addNewLayer(new ArrayList<WMSLayer>());
    5657        if (wmsLayer != null)
     
    116117            wmsLayer.setDepartement(codeDepartement);
    117118            CadastrePlugin.addWMSLayer(wmsLayer);
    118             System.out.println("Add new layer with Location:" + inputTown.getText());
     119            Main.info("Add new layer with Location:" + inputTown.getText());
    119120        } else if (existingLayers != null && existingLayers.size() > 0 && Main.map.mapView.getActiveLayer() instanceof WMSLayer) {
    120121            wmsLayer = (WMSLayer)Main.map.mapView.getActiveLayer();
     
    123124        return wmsLayer;
    124125    }
    125 
    126126}
Note: See TracChangeset for help on using the changeset viewer.