diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-29 19:46:47 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-29 19:46:47 +0100 |
commit | 64f47685ca8fee174d87688e8c5d33de4c153c9b (patch) | |
tree | ab6c6fcfdbf648801256f78db829808eb1bb965d /src/core/lombok/javac/handlers/HandleSynchronized.java | |
parent | 96b7c8ed471745366378d5b7cec8890d16532dee (diff) | |
parent | eb1a51588779ca55c9855651f9eefed9459f0874 (diff) | |
download | lombok-64f47685ca8fee174d87688e8c5d33de4c153c9b.tar.gz lombok-64f47685ca8fee174d87688e8c5d33de4c153c9b.tar.bz2 lombok-64f47685ca8fee174d87688e8c5d33de4c153c9b.zip |
Merge branch 'master' into netbeans
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleSynchronized.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleSynchronized.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSynchronized.java b/src/core/lombok/javac/handlers/HandleSynchronized.java index eaa0ad6d..3602e74b 100644 --- a/src/core/lombok/javac/handlers/HandleSynchronized.java +++ b/src/core/lombok/javac/handlers/HandleSynchronized.java @@ -87,7 +87,7 @@ public class HandleSynchronized implements JavacAnnotationHandler<Synchronized> JCNewArray newObjectArray = maker.NewArray(chainDots(maker, methodNode, "java", "lang", "Object"), List.<JCExpression>of(maker.Literal(TypeTags.INT, 0)), null); JCVariableDecl fieldDecl = maker.VarDef( - maker.Modifiers(Flags.FINAL | (isStatic ? Flags.STATIC : 0)), + maker.Modifiers(Flags.PRIVATE | Flags.FINAL | (isStatic ? Flags.STATIC : 0)), methodNode.toName(lockName), objectType, newObjectArray); injectField(methodNode.up(), fieldDecl); } |