Ignore:
Timestamp:
2014-10-19T01:27:04+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix java 7 warnings / global usage of try-with-resource

File:
1 edited

Legend:

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

    r29922 r30738  
    3030    }
    3131
    32         @Override
    33         public Collection<Layer> getDependencies() {
     32    @Override
     33    public Collection<Layer> getDependencies() {
    3434        return Collections.emptySet();
    35         }
     35    }
    3636
    37         @Override
    38         public Component getExportPanel() {
     37    @Override
     38    public Component getExportPanel() {
    3939        final JPanel p = new JPanel(new GridBagLayout());
    4040        export = new JCheckBox();
     
    4646        p.add(GBC.glue(1,0), GBC.std().fill(GBC.HORIZONTAL));
    4747        return p;
    48         }
     48    }
    4949
    50         @Override
    51         public boolean shallExport() {
     50    @Override
     51    public boolean shallExport() {
    5252        return export.isSelected();
    53         }
     53    }
    5454
    55         @Override
    56         public boolean requiresZip() {
    57                 return false;
    58         }
     55    @Override
     56    public boolean requiresZip() {
     57        return false;
     58    }
    5959
    60         @Override
    61         public Element export(ExportSupport support) throws IOException {
     60    @Override
     61    public Element export(ExportSupport support) throws IOException {
    6262        Element layerEl = support.createElement("layer");
    6363        layerEl.setAttribute("type", "cadastre-fr");
     
    7676        file.appendChild(support.createTextNode(url.toString()));
    7777        return layerEl;
    78         }
     78    }
    7979
    8080}
Note: See TracChangeset for help on using the changeset viewer.