diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-21 18:16:18 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-21 18:16:18 +0200 |
commit | b8d9c9ed9771bbeed49f1fb2659e07a20559a25b (patch) | |
tree | 8162650ac5c89e4394249cc51f3bdd422d5ef290 /src | |
parent | 255bd5907176cb5d2c4fb1cf6a9b48b14af0b4ba (diff) | |
download | lombok-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.java | 2 |
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) ) { |