diff options
Diffstat (limited to 'src/installer')
| -rw-r--r-- | src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java b/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java index b807f02b..917091c0 100644 --- a/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java +++ b/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java @@ -43,18 +43,19 @@ public class EclipseProductLocationProvider implements IdeLocationProvider { this.descriptor = descriptor; } - @Override public final IdeLocation create(String path) throws CorruptedIdeLocationException { - return create0(path); - } - /** * Create a new EclipseLocation by pointing at either the directory contains the Eclipse executable, or the executable itself, * or an eclipse.ini file. * - * @throws NotAnIdeLocationException + * @throws CorruptedIdeLocationException * If this isn't an Eclipse executable or a directory with an * Eclipse executable. + * @throws NullPointerException if {@code path} is {@code null}. */ + @Override public final IdeLocation create(String path) throws CorruptedIdeLocationException { + return create0(path); + } + private IdeLocation create0(String path) throws CorruptedIdeLocationException { if (path == null) throw new NullPointerException("path"); String iniName = descriptor.getIniFileName(); |
