aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/core/AST.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-03 16:01:14 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-03 16:01:14 +0200
commitcf594564bed778fe4d73f32ae5865cf20290f360 (patch)
tree541f255e4bd3557eb14b5768493160ff2f7199a3 /src/lombok/core/AST.java
parentc3e4ed5d78718b6c0aeb0ceabfa984e2ee2800ae (diff)
downloadlombok-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/core/AST.java')
-rw-r--r--src/lombok/core/AST.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lombok/core/AST.java b/src/lombok/core/AST.java
index 2f92ad6d..24e128b2 100644
--- a/src/lombok/core/AST.java
+++ b/src/lombok/core/AST.java
@@ -156,8 +156,8 @@ public abstract class AST<N> {
* @see #isStructurallySignificant()
*/
public Node up() {
- Node result = (Node)parent;
- while ( result != null && !result.isStructurallySignificant ) result = (Node)result.parent;
+ Node result = parent;
+ while ( result != null && !result.isStructurallySignificant ) result = result.parent;
return result;
}