diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-03 16:01:14 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-03 16:01:14 +0200 |
commit | cf594564bed778fe4d73f32ae5865cf20290f360 (patch) | |
tree | 541f255e4bd3557eb14b5768493160ff2f7199a3 /src/lombok/eclipse/handlers/PKG.java | |
parent | c3e4ed5d78718b6c0aeb0ceabfa984e2ee2800ae (diff) | |
download | lombok-cf594564bed778fe4d73f32ae5865cf20290f360.tar.gz lombok-cf594564bed778fe4d73f32ae5865cf20290f360.tar.bz2 lombok-cf594564bed778fe4d73f32ae5865cf20290f360.zip |
Fine-tuning eclipse's error reporting found some minor issues and even 1 bug that would show up rarely or not at all.
Diffstat (limited to 'src/lombok/eclipse/handlers/PKG.java')
-rw-r--r-- | src/lombok/eclipse/handlers/PKG.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/eclipse/handlers/PKG.java b/src/lombok/eclipse/handlers/PKG.java index 13492b28..697514a7 100644 --- a/src/lombok/eclipse/handlers/PKG.java +++ b/src/lombok/eclipse/handlers/PKG.java @@ -133,7 +133,7 @@ class PKG { if ( node.get() instanceof TypeDeclaration ) { for ( AbstractMethodDeclaration def : ((TypeDeclaration)node.get()).methods ) { - char[] mName = ((AbstractMethodDeclaration)def).selector; + char[] mName = def.selector; if ( mName == null ) continue; if ( methodName.equals(new String(mName)) ) { EclipseAST.Node existing = node.getNodeFor(def); |