Ignore:
Timestamp:
2015-05-22T01:39:47+02:00 (10 years ago)
Author:
Don-vip
Message:

code style - A close curly brace should be located at the beginning of a line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java

    r8395 r8413  
    6969            result = Result.WAITING;
    7070            interrupt();
    71             while (result == Result.WAITING) { sleep(10); /* yield(); */ }
     71            while (result == Result.WAITING) {
     72                sleep(10); /* yield(); */
     73            }
    7274            if (result == Result.FAILED)
    7375                throw exception;
     
    217219        calibration = Main.pref.getDouble("audio.calibration", 1.0 /* default, ratio */);
    218220        start();
    219         while (state == State.INITIALIZING) { yield(); }
     221        while (state == State.INITIALIZING) {
     222            yield();
     223        }
    220224    }
    221225
     
    251255                            position += nBytesRead / bytesPerSecond;
    252256                            command.possiblyInterrupt();
    253                             if (nBytesRead < 0) { break; }
     257                            if (nBytesRead < 0) {
     258                                break;
     259                            }
    254260                            audioOutputLine.write(abData, 0, nBytesRead); // => int nBytesWritten
    255261                            command.possiblyInterrupt();
Note: See TracChangeset for help on using the changeset viewer.