diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-06-07 22:09:59 -0700 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-06-07 22:09:59 -0700 |
commit | deb6b061ceb08608414ec1bec53eda999f9c69ea (patch) | |
tree | 46f77e904eb0b4c811741ec3f175a0bb813278f0 /src/installer/lombok | |
parent | 612431bbbb3b02eb3d84735d86bf080143cd12d9 (diff) | |
download | lombok-deb6b061ceb08608414ec1bec53eda999f9c69ea.tar.gz lombok-deb6b061ceb08608414ec1bec53eda999f9c69ea.tar.bz2 lombok-deb6b061ceb08608414ec1bec53eda999f9c69ea.zip |
Detector regexp for windows had a pointless grouping in it.
Diffstat (limited to 'src/installer/lombok')
-rw-r--r-- | src/installer/lombok/installer/IdeFinder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/installer/lombok/installer/IdeFinder.java b/src/installer/lombok/installer/IdeFinder.java index 165d0768..a5e22716 100644 --- a/src/installer/lombok/installer/IdeFinder.java +++ b/src/installer/lombok/installer/IdeFinder.java @@ -126,7 +126,7 @@ public abstract class IdeFinder { String prop = System.getProperty("os.name", "").toLowerCase(); if (prop.matches("^.*\\bmac\\b.*$")) return OS.MAC_OS_X; if (prop.matches("^.*\\bdarwin\\b.*$")) return OS.MAC_OS_X; - if (prop.matches("^.*\\bwin(dows)\\b.*$")) return OS.WINDOWS; + if (prop.matches("^.*\\bwindows\\b.*$")) return OS.WINDOWS; return OS.UNIX; } |