Changeset 8342 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2015-05-09T12:49:35+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/NmeaReader.java
r7596 r8342 376 376 currentwp.put(GpxConstants.PT_PDOP, Float.parseFloat(accu)); 377 377 } 378 } 379 else if("$GPRMC".equals(e[0]) || "$GNRMC".equals(e[0])) { 378 } else if("$GPRMC".equals(e[0]) || "$GNRMC".equals(e[0])) { 380 379 // coordinates 381 380 LatLon latLon = parseLatLon( -
trunk/src/org/openstreetmap/josm/io/OsmApiException.java
r7205 r8342 130 130 .append(responseCode); 131 131 String eh = ""; 132 try 133 { 132 try { 134 133 if(errorHeader != null) 135 134 eh = tr(errorHeader.trim()); … … 139 138 .append(">"); 140 139 } 141 } 142 catch (Exception e) { 140 } catch (Exception e) { 143 141 // Ignored 144 142 } 145 try 146 { 143 try { 147 144 String eb = errorBody != null ? tr(errorBody.trim()) : ""; 148 145 if (!eb.isEmpty() && !eb.equals(eh)) { … … 151 148 .append(">"); 152 149 } 153 } 154 catch (Exception e) { 150 } catch (Exception e) { 155 151 // Ignored 156 152 } -
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r8291 r8342 187 187 } 188 188 } 189 } 190 catch(Exception e) { 189 } catch(Exception e) { 191 190 errorBody.append(tr("Reading error text failed.")); 192 191 } -
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpServer.java
r8340 r8342 5 5 6 6 import java.io.IOException; 7 import java.net.BindException;8 7 import java.net.ServerSocket; 9 8 import java.net.Socket; -
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java
r8341 r8342 7 7 import java.io.InputStream; 8 8 import java.math.BigInteger; 9 import java.net.BindException;10 9 import java.net.ServerSocket; 11 10 import java.net.Socket;
Note:
See TracChangeset
for help on using the changeset viewer.