Ignore:
Timestamp:
2016-10-08T03:02:51+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S2148 - Underscores should be used to make large numbers readable

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

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

    r10662 r11100  
    312312                                bytesPerSecond = audioFormat.getFrameRate() /* frames per second */
    313313                                * audioFormat.getFrameSize() /* bytes per frame */;
    314                                 if (speed * bytesPerSecond > 256000.0) {
    315                                     speed = 256000 / bytesPerSecond;
     314                                if (speed * bytesPerSecond > 256_000.0) {
     315                                    speed = 256_000 / bytesPerSecond;
    316316                                }
    317317                                if (calibratedOffset > 0.0) {
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r11056 r11100  
    8080
    8181    private static final int MILLIS_OF_SECOND = 1000;
    82     private static final int MILLIS_OF_MINUTE = 60000;
    83     private static final int MILLIS_OF_HOUR = 3600000;
    84     private static final int MILLIS_OF_DAY = 86400000;
     82    private static final int MILLIS_OF_MINUTE = 60_000;
     83    private static final int MILLIS_OF_HOUR = 3_600_000;
     84    private static final int MILLIS_OF_DAY = 86_400_000;
    8585
    8686    /**
Note: See TracChangeset for help on using the changeset viewer.