Changeset 8855 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-10-10T21:01:42+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java
r8840 r8855 75 75 interrupt(); 76 76 while (result == Result.WAITING) { 77 sleep(10); /* yield(); */77 sleep(10); 78 78 } 79 79 if (result == Result.FAILED) … … 315 315 long bytesToSkip = (long) (calibratedOffset /* seconds (double) */ * bytesPerSecond); 316 316 // skip doesn't seem to want to skip big chunks, so reduce it to smaller ones 317 // audioInputStream.skip(bytesToSkip);318 317 while (bytesToSkip > chunk) { 319 318 nBytesRead = audioInputStream.skip(chunk); -
trunk/src/org/openstreetmap/josm/tools/Geometry.java
r8510 r8855 344 344 double a1 = p2.getY() - p1.getY(); 345 345 double b1 = p1.getX() - p2.getX(); 346 // double c1 = 0;347 346 348 347 double a2 = p4.getY() - p3.getY(); -
trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java
r8846 r8855 140 140 */ 141 141 public static String getDisplayName(Locale locale) { 142 /*String full = locale.toString();143 if ("ca__valencia".equals(full))144 return t_r_c("language", "Valencian");*/145 146 142 return locale.getDisplayName(); 147 143 } -
trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java
r8744 r8855 48 48 try (final Reader reader = new InputStreamReader( 49 49 getClass().getResourceAsStream("/data/overpass-turbo-ffs.js"), StandardCharsets.UTF_8)) { 50 //engine.eval("var turbo = {ffs: {noPresets: true}};");51 50 engine.eval("var console = {log: function(){}};"); 52 51 engine.eval(reader); -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r8846 r8855 1303 1303 */ 1304 1304 public static ThreadFactory newThreadFactory(final String nameFormat, final int threadPriority) { 1305 final String ignore = String.format(Locale.ENGLISH, nameFormat, 0); // fail fast1306 1305 return new ThreadFactory() { 1307 1306 final AtomicLong count = new AtomicLong(0);
Note:
See TracChangeset
for help on using the changeset viewer.