Ignore:
Timestamp:
2009-06-17T09:46:26+02:00 (17 years ago)
Author:
stoecker
Message:

fix build issues

File:
1 edited

Legend:

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

    r13545 r15961  
    2121public class MenuActionNewLocation extends JosmAction {
    2222
    23         private static final long serialVersionUID = 1L;
    24        
    25         public MenuActionNewLocation() {
    26                 super(tr("Change location"), "cadastre_small", tr("Set a new location for the next request"), null, false);
    27         }
     23    private static final long serialVersionUID = 1L;
    2824
    29         public void actionPerformed(ActionEvent e) {
     25    public MenuActionNewLocation() {
     26        super(tr("Change location"), "cadastre_small", tr("Set a new location for the next request"), null, false);
     27    }
     28
     29    public void actionPerformed(ActionEvent e) {
    3030        WMSLayer wmsLayer = addNewLayer(new ArrayList<WMSLayer>());
    3131        if (wmsLayer != null)
    3232            DownloadWMSTask.download(wmsLayer);
    3333    }
    34        
    35         public WMSLayer addNewLayer(ArrayList<WMSLayer> existingLayers) {
     34
     35    public WMSLayer addNewLayer(ArrayList<WMSLayer> existingLayers) {
    3636        if (Main.map == null) {
    3737            JOptionPane.showMessageDialog(Main.parent,
     
    8888                System.out.println("Add new layer with Location:" + inputTown.getText());
    8989            } else if (existingLayers != null && existingLayers.size() > 0 && inputWMSList.getSelectedIndex() > 0) {
    90                 wmsLayer = existingLayers.get(inputWMSList.getSelectedIndex()-1);           
     90                wmsLayer = existingLayers.get(inputWMSList.getSelectedIndex()-1);
    9191                resetCookie = true;
    9292            }
     
    9797        }
    9898    }
    99        
     99
    100100}
Note: See TracChangeset for help on using the changeset viewer.