diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-10-18 17:37:03 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-10-18 17:37:03 +0200 |
commit | 4da08ce3ccdd94f48856bd77b3dff50a77c150b1 (patch) | |
tree | 20f61c2a5eb73a0fa6cf47db744bb932c1eff28e /src/lombok/eclipse/handlers | |
parent | bd3966af0e5d2ce948bf22dcb99227e0df5c6f13 (diff) | |
download | lombok-4da08ce3ccdd94f48856bd77b3dff50a77c150b1.tar.gz lombok-4da08ce3ccdd94f48856bd77b3dff50a77c150b1.tar.bz2 lombok-4da08ce3ccdd94f48856bd77b3dff50a77c150b1.zip |
Removed some warnings.
Diffstat (limited to 'src/lombok/eclipse/handlers')
-rw-r--r-- | src/lombok/eclipse/handlers/HandleEqualsAndHashCode.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/lombok/eclipse/handlers/HandleEqualsAndHashCode.java index c5945e6c..c53938d1 100644 --- a/src/lombok/eclipse/handlers/HandleEqualsAndHashCode.java +++ b/src/lombok/eclipse/handlers/HandleEqualsAndHashCode.java @@ -160,7 +160,9 @@ public class HandleEqualsAndHashCode implements EclipseAnnotationHandler<EqualsA if (callSuper == null) { try { callSuper = ((Boolean)EqualsAndHashCode.class.getMethod("callSuper").getDefaultValue()).booleanValue(); - } catch (Exception ignore) {} + } catch (Exception ignore) { + throw new InternalError("Lombok bug - this cannot happen - can't find callSuper field in EqualsAndHashCode annotation."); + } } boolean isDirectDescendantOfObject = true; |