Skip to content

Commit

Permalink
Merge 4b9dac2 into 61fc78a
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-anufriev committed Sep 20, 2018
2 parents 61fc78a + 4b9dac2 commit 05bfc6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
package org.tools4j.mmap.region.impl;

public class OS {
public static final String NAME = java.lang.System.getProperty("os.name");
public static final String NAME = java.lang.System.getProperty("os.name").toLowerCase();
public static final boolean WINDOWS = NAME.startsWith("win");

public static <T> T ifWindows(final T value, final T defaultValue) {
Expand Down

0 comments on commit 05bfc6f

Please sign in to comment.