Bug fix: using string literals in any lombok annotation value would blow up that processor.

This commit is contained in:
Reinier Zwitserloot committed 2009-06-21 18:16:18 +02:00
1 parent 255bd59071
commit b8d9c9ed97
1 file changed
+1 -1
+1 -1
View File
@@ -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) ) {