aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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) ) {