mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 20:15:59 +00:00
Bug fix: using string literals in any lombok annotation value would blow up that processor.
This commit is contained in:
1 parent
255bd59071
commit
b8d9c9ed97
1 file changed
+1
-1
@@ -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) ) {
|
||||
|
||||
Reference in new issue
Block a user