mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +00:00
EclipseLocationProvider now checks the current directory if it matches the eclipse-like executable patterns. Probably fixes issue #196
This commit is contained in:
1 parent
12b0753336
commit
8b2ee73cc4
1 file changed
+4
-4
@@ -89,10 +89,10 @@ public class EclipseLocationProvider implements IdeLocationProvider {
|
||||
if (p.getName().equalsIgnoreCase(getIniName())) {
|
||||
return new EclipseLocation(canonical(p.getParentFile()), p);
|
||||
}
|
||||
|
||||
if (getEclipseExecutableNames().contains(p.getName().toLowerCase())) {
|
||||
return findEclipseIniFromExe(p, 0);
|
||||
}
|
||||
}
|
||||
|
||||
if (getEclipseExecutableNames().contains(p.getName().toLowerCase())) {
|
||||
return findEclipseIniFromExe(p, 0);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user