aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-21 18:16:18 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-21 18:16:18 +0200
commitb8d9c9ed9771bbeed49f1fb2659e07a20559a25b (patch)
tree8162650ac5c89e4394249cc51f3bdd422d5ef290 /src
parent255bd5907176cb5d2c4fb1cf6a9b48b14af0b4ba (diff)
downloadlombok-b8d9c9ed9771bbeed49f1fb2659e07a20559a25b.tar.gz
lombok-b8d9c9ed9771bbeed49f1fb2659e07a20559a25b.tar.bz2
lombok-b8d9c9ed9771bbeed49f1fb2659e07a20559a25b.zip
Bug fix: using string literals in any lombok annotation value would blow up that processor.
Diffstat (limited to 'src')
-rw-r--r--src/lombok/core/AnnotationValues.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/core/AnnotationValues.java b/src/lombok/core/AnnotationValues.java
index 54fa87aa..8c69ffc4 100644
--- a/src/lombok/core/AnnotationValues.java
+++ b/src/lombok/core/AnnotationValues.java
@@ -183,7 +183,7 @@ public class AnnotationValues<A extends Annotation> {
}
if ( expected == String.class ) {
- if ( guess instanceof String ) return expected;
+ if ( guess instanceof String ) return guess;
}
if ( Enum.class.isAssignableFrom(expected) ) {