diff options
author | Roel Spilker <r.spilker@gmail.com> | 2018-04-23 21:10:08 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-04-23 21:11:49 +0200 |
commit | 44abd07764d2bd94e89a22d4569f6f97e343553d (patch) | |
tree | c07008a51530e8763b65c9e64f62e99eb6c1b5f8 /src/installer/lombok | |
parent | c0a3ad3d18f1028b0bce598f0be275713249accf (diff) | |
download | lombok-44abd07764d2bd94e89a22d4569f6f97e343553d.tar.gz lombok-44abd07764d2bd94e89a22d4569f6f97e343553d.tar.bz2 lombok-44abd07764d2bd94e89a22d4569f6f97e343553d.zip |
move javadoc to public method
Diffstat (limited to 'src/installer/lombok')
-rw-r--r-- | src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java b/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java index 097b7a8e..917091c0 100644 --- a/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java +++ b/src/installer/lombok/installer/eclipse/EclipseProductLocationProvider.java @@ -43,10 +43,6 @@ 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. @@ -54,7 +50,12 @@ public class EclipseProductLocationProvider implements IdeLocationProvider { * @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(); |