mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
Works around issue 217. it's not a proper fix but better than 0.10.0-RC1.
This commit is contained in:
1 parent
403f515aa2
commit
dfca0e4cbd
1 file changed
+3
-1
@@ -100,7 +100,9 @@ public class HandleSynchronized extends EclipseAnnotationHandler<Synchronized> {
|
||||
fieldDecl.type = new QualifiedTypeReference(TypeConstants.JAVA_LANG_OBJECT, new long[] { 0, 0, 0 });
|
||||
Eclipse.setGeneratedBy(fieldDecl.type, source);
|
||||
fieldDecl.initialization = arrayAlloc;
|
||||
injectFieldSuppressWarnings(annotationNode.up().up(), fieldDecl);
|
||||
// TODO temporary workaround for issue 217. http://code.google.com/p/projectlombok/issues/detail?id=217
|
||||
// injectFieldSuppressWarnings(annotationNode.up().up(), fieldDecl);
|
||||
injectField(annotationNode.up().up(), fieldDecl);
|
||||
}
|
||||
|
||||
return lockName;
|
||||
|
||||
Reference in new issue
Block a user