aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-06-07 22:09:59 -0700
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-06-07 22:09:59 -0700
commitdeb6b061ceb08608414ec1bec53eda999f9c69ea (patch)
tree46f77e904eb0b4c811741ec3f175a0bb813278f0 /src
parent612431bbbb3b02eb3d84735d86bf080143cd12d9 (diff)
downloadlombok-deb6b061ceb08608414ec1bec53eda999f9c69ea.tar.gz
lombok-deb6b061ceb08608414ec1bec53eda999f9c69ea.tar.bz2
lombok-deb6b061ceb08608414ec1bec53eda999f9c69ea.zip
Detector regexp for windows had a pointless grouping in it.
Diffstat (limited to 'src')
-rw-r--r--src/installer/lombok/installer/IdeFinder.java2
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;
}