Changeset 6310 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2013-10-07T00:04:48+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 5 edited
-
AudioPlayer.java (modified) (1 diff)
-
ImageProvider.java (modified) (2 diffs)
-
OsmUrlToBounds.java (modified) (1 diff)
-
PlatformHookUnixoid.java (modified) (3 diffs)
-
Utils.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java
r6246 r6310 198 198 */ 199 199 public static void reset() { 200 if(audioPlayer != null) 201 { 200 if(audioPlayer != null) { 202 201 try { 203 202 pause(); 204 } catch(Exception e) {} 203 } catch(Exception e) { 204 Main.warn(e); 205 } 205 206 audioPlayer.playingUrl = null; 206 207 } -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r6283 r6310 603 603 try { 604 604 img = ImageIO.read(new ByteArrayInputStream(buf)); 605 } catch (IOException e) {} 605 } catch (IOException e) { 606 Main.warn(e); 607 } 606 608 return img == null ? null : new ImageResource(img); 607 609 default: … … 657 659 return f.toURI().toURL(); 658 660 } catch (MalformedURLException e) { 661 Main.warn(e); 659 662 } 660 663 } -
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r6203 r6310 23 23 } 24 24 } catch (UnsupportedEncodingException x) { 25 Main.error(x); 25 26 } catch (IllegalArgumentException x) { 27 Main.error(x); 26 28 } 27 29 Bounds b = parseShortLink(url); -
trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
r6103 r6310 14 14 import java.util.List; 15 15 16 import org.openstreetmap.josm.Main; 17 16 18 /** 17 19 * see PlatformHook.java … … 42 44 return; 43 45 } catch (IOException e) { 46 Main.warn(e); 44 47 } 45 48 } … … 123 126 } 124 127 } catch (IOException e) { 128 Main.warn(e); 125 129 } 126 130 return null; -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r6268 r6310 394 394 Thread.sleep(1); 395 395 } catch (InterruptedException ex) { 396 Main.warn(ex); 396 397 } 397 398 }
Note:
See TracChangeset
for help on using the changeset viewer.
