diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-06-24 20:48:17 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-06-24 20:48:17 +0200 |
commit | 65b735c8599af0cefaa5903d83ab9ab2133f0c92 (patch) | |
tree | cbb4ea87b0927715550571871348013577ed3117 /src/core/lombok/eclipse/handlers | |
parent | 01d2115b4f30db85a3c8efbb6dd1bbc8aba16f8a (diff) | |
download | lombok-65b735c8599af0cefaa5903d83ab9ab2133f0c92.tar.gz lombok-65b735c8599af0cefaa5903d83ab9ab2133f0c92.tar.bz2 lombok-65b735c8599af0cefaa5903d83ab9ab2133f0c92.zip |
[issue 699] fileName (for finding absolute path of a source file) are sometimes URIs, for example with GWT. We now do the right thing here instead of crashing out.
Diffstat (limited to 'src/core/lombok/eclipse/handlers')
-rw-r--r-- | src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java index 6a903e4c..546beb9f 100644 --- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java +++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java @@ -143,7 +143,7 @@ public class EclipseHandlerUtil { if (bundleName == null) bundleName = DEFAULT_BUNDLE; try { new EclipseWorkspaceLogger().error(message, bundleName, error); - } catch (NoClassDefFoundError e) { //standalone ecj does not jave Platform, ILog, IStatus, and friends. + } catch (NoClassDefFoundError e) { //standalone ecj does not java Platform, ILog, IStatus, and friends. new TerminalLogger().error(message, bundleName, error); } if (cud != null) EclipseAST.addProblemToCompilationResult(cud.getFileName(), cud.compilationResult, false, message + " - See error log.", 0, 0); |