Ignore:
Timestamp:
2015-05-09T12:49:35+02:00 (9 years ago)
Author:
Don-vip
Message:

code style - Close curly brace and the next "else", "catch" and "finally" keywords should be located on the same line

Location:
trunk/src/org/openstreetmap/josm/io
Files:
5 edited

Legend:

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

    r7596 r8342  
    376376                    currentwp.put(GpxConstants.PT_PDOP, Float.parseFloat(accu));
    377377                }
    378             }
    379             else if("$GPRMC".equals(e[0]) || "$GNRMC".equals(e[0])) {
     378            } else if("$GPRMC".equals(e[0]) || "$GNRMC".equals(e[0])) {
    380379                // coordinates
    381380                LatLon latLon = parseLatLon(
  • trunk/src/org/openstreetmap/josm/io/OsmApiException.java

    r7205 r8342  
    130130        .append(responseCode);
    131131        String eh = "";
    132         try
    133         {
     132        try {
    134133            if(errorHeader != null)
    135134                eh = tr(errorHeader.trim());
     
    139138                .append(">");
    140139            }
    141         }
    142         catch (Exception e) {
     140        } catch (Exception e) {
    143141            // Ignored
    144142        }
    145         try
    146         {
     143        try {
    147144            String eb = errorBody != null ? tr(errorBody.trim()) : "";
    148145            if (!eb.isEmpty() && !eb.equals(eh)) {
     
    151148                .append(">");
    152149            }
    153         }
    154         catch (Exception e) {
     150        } catch (Exception e) {
    155151            // Ignored
    156152        }
  • trunk/src/org/openstreetmap/josm/io/OsmServerReader.java

    r8291 r8342  
    187187                            }
    188188                        }
    189                     }
    190                     catch(Exception e) {
     189                    } catch(Exception e) {
    191190                        errorBody.append(tr("Reading error text failed."));
    192191                    }
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpServer.java

    r8340 r8342  
    55
    66import java.io.IOException;
    7 import java.net.BindException;
    87import java.net.ServerSocket;
    98import java.net.Socket;
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java

    r8341 r8342  
    77import java.io.InputStream;
    88import java.math.BigInteger;
    9 import java.net.BindException;
    109import java.net.ServerSocket;
    1110import java.net.Socket;
Note: See TracChangeset for help on using the changeset viewer.