diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-08-03 01:33:34 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-08-22 00:37:17 +0200 |
commit | 9570e0d4a9783df132cc117827275eb5724d41d6 (patch) | |
tree | 6865101991cae7e399dfb97d8edf1449305156fa /org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java | |
parent | dccad56c9a8714398f813f953704a52d3aa3c0cc (diff) | |
download | jgit-9570e0d4a9783df132cc117827275eb5724d41d6.tar.gz jgit-9570e0d4a9783df132cc117827275eb5724d41d6.zip |
Refactor detection of Windows platform to SystemReader
Change-Id: Id0b8aef92f10572d4f1ec198e0281162fcd7ed4e
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java index 535d1cd26a..6eb020e52b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java @@ -89,7 +89,7 @@ public abstract class FS { * @return detected file system abstraction */ public static FS detect(Boolean cygwinUsed) { - if (FS_Win32.isWin32()) { + if (SystemReader.getInstance().isWindows()) { if (cygwinUsed == null) cygwinUsed = Boolean.valueOf(FS_Win32_Cygwin.isCygwin()); if (cygwinUsed.booleanValue()) |