Ignore:
Timestamp:
2016-07-08T03:04:49+02:00 (9 years ago)
Author:
donvip
Message:

sonar - squid:S2148 / squid:S1449

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/DefaultMapController.java

    r32074 r32602  
    88import java.awt.event.MouseWheelEvent;
    99import java.awt.event.MouseWheelListener;
     10import java.util.Locale;
    1011
    1112/**
     
    185186    public static boolean isPlatformOsx() {
    186187        String os = System.getProperty("os.name");
    187         return os != null && os.toLowerCase().startsWith("mac os x");
     188        return os != null && os.toLowerCase(Locale.ENGLISH).startsWith("mac os x");
    188189    }
    189190}
Note: See TracChangeset for help on using the changeset viewer.