From 75e81604f390b7d9d14b50a86d9f991de30eb1b3 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 16 May 2011 22:32:27 +0200 Subject: Split up PatchVal into the ecj and eclipse bits; in ecj you'd just get NoSuchClassErrors. --- src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java') diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java index b624caff..4c2b088d 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java @@ -35,7 +35,6 @@ import lombok.core.PostCompiler; import org.eclipse.jdt.core.IAnnotatable; import org.eclipse.jdt.core.IAnnotation; import org.eclipse.jdt.core.IMethod; -import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.core.dom.SimpleName; import org.eclipse.jdt.internal.compiler.ast.Annotation; @@ -144,7 +143,7 @@ public class PatchFixes { try { in = annotatable.getAnnotations(); - } catch (JavaModelException e) { + } catch (Exception e) { return out; } -- cgit