Changeset 11098 in josm for trunk/src


Ignore:
Timestamp:
2016-10-08T02:47:44+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:S2959 - Unnecessary semicolons should be omitted

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r11058 r11098  
    14771477        try (
    14781478            StringWriter sw = new StringWriter();
    1479             PreferencesWriter prefWriter = new PreferencesWriter(new PrintWriter(sw), nopass, defaults);
     1479            PreferencesWriter prefWriter = new PreferencesWriter(new PrintWriter(sw), nopass, defaults)
    14801480        ) {
    14811481            prefWriter.write(settings);
  • trunk/src/org/openstreetmap/josm/io/OsmExporter.java

    r10632 r11098  
    129129            OutputStream out = getOutputStream(file);
    130130            Writer writer = new OutputStreamWriter(out, StandardCharsets.UTF_8);
    131             OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(writer), false, layer.data.getVersion());
     131            OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(writer), false, layer.data.getVersion())
    132132        ) {
    133133            layer.data.getReadLock().lock();
Note: See TracChangeset for help on using the changeset viewer.