Ignore:
Timestamp:
2017-02-25T20:47:05+01:00 (7 years ago)
Author:
Don-vip
Message:

checkstyle - enable CatchParameterName rule

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxExporter.java

    r11553 r11620  
    205205            new GpxWriter(fo).write(gpxData);
    206206            fo.flush();
    207         } catch (IOException x) {
    208             Main.error(x);
    209             JOptionPane.showMessageDialog(Main.parent, tr("Error while exporting {0}:\n{1}", fn, x.getMessage()),
     207        } catch (IOException ex) {
     208            Main.error(ex);
     209            JOptionPane.showMessageDialog(Main.parent, tr("Error while exporting {0}:\n{1}", fn, ex.getMessage()),
    210210                    tr("Error"), JOptionPane.ERROR_MESSAGE);
    211211        }
Note: See TracChangeset for help on using the changeset viewer.