Skip to content
Permalink
Browse files

MacOSPlatform: fix osName()

It needs to match the os.name system property.

Noticed by Jan Eglinger.
  • Loading branch information...
ctrueden committed Sep 15, 2017
1 parent e65e4e9 commit fdce7d8f0706390f032508bcf863674ff4239289
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/org/scijava/plugins/platforms/macos/MacOSPlatform.java
@@ -78,7 +78,9 @@

@Override
public String osName() {
return "macOS";
// NB: The value of the os.name system property for activation purposes;
// see org.scijava.platform.Platform#isTarget().
return "Mac OS X";
}

@Override

0 comments on commit fdce7d8

Please sign in to comment.
You can’t perform that action at this time.