aboutsummaryrefslogtreecommitdiff
path: root/src/utils/lombok/eclipse/Eclipse.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-09-04 01:53:30 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-09-04 01:54:29 +0200
commitaf55bd0a328aa05f3ffb53a57a37306d1372a478 (patch)
treea2309f191d4041d0e14e4632e2103f47d3e3f84d /src/utils/lombok/eclipse/Eclipse.java
parent92bc41ae6dce8e16fd9da64c08ad085822fd33ed (diff)
downloadlombok-af55bd0a328aa05f3ffb53a57a37306d1372a478.tar.gz
lombok-af55bd0a328aa05f3ffb53a57a37306d1372a478.tar.bz2
lombok-af55bd0a328aa05f3ffb53a57a37306d1372a478.zip
[wip] Random fixes to various tests that are failing, especially against Java7.
Diffstat (limited to 'src/utils/lombok/eclipse/Eclipse.java')
-rw-r--r--src/utils/lombok/eclipse/Eclipse.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/lombok/eclipse/Eclipse.java b/src/utils/lombok/eclipse/Eclipse.java
index 943a7a7a..5dbe3e2d 100644
--- a/src/utils/lombok/eclipse/Eclipse.java
+++ b/src/utils/lombok/eclipse/Eclipse.java
@@ -186,11 +186,11 @@ public class Eclipse {
default: return null;
}
} else if (e instanceof ClassLiteralAccess) {
- return new ClassLiteral(Eclipse.toQualifiedName(((ClassLiteralAccess)e).type.getTypeName()));
+ return new ClassLiteral(Eclipse.toQualifiedName(((ClassLiteralAccess) e).type.getTypeName()));
} else if (e instanceof SingleNameReference) {
return new FieldSelect(new String(((SingleNameReference)e).token));
} else if (e instanceof QualifiedNameReference) {
- String qName = Eclipse.toQualifiedName(((QualifiedNameReference)e).tokens);
+ String qName = Eclipse.toQualifiedName(((QualifiedNameReference) e).tokens);
int idx = qName.lastIndexOf('.');
return new FieldSelect(idx == -1 ? qName : qName.substring(idx+1));
} else if (e instanceof UnaryExpression) {