diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-10-18 16:42:33 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-10-18 16:42:33 +0200 |
commit | bd3966af0e5d2ce948bf22dcb99227e0df5c6f13 (patch) | |
tree | aef91399af0bef930dd18acb8bf0bb0f4817557e /src/lombok/javac/apt | |
parent | 56616f3bec6d8eda8c2bcf0550490f0098fb7fed (diff) | |
parent | 1b0d0ff5ad539f34fc27a8a27621b3f8d6d982b7 (diff) | |
download | lombok-bd3966af0e5d2ce948bf22dcb99227e0df5c6f13.tar.gz lombok-bd3966af0e5d2ce948bf22dcb99227e0df5c6f13.tar.bz2 lombok-bd3966af0e5d2ce948bf22dcb99227e0df5c6f13.zip |
Merge branch 'master' of git@github.com:rzwitserloot/lombok
Diffstat (limited to 'src/lombok/javac/apt')
-rw-r--r-- | src/lombok/javac/apt/Processor.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lombok/javac/apt/Processor.java b/src/lombok/javac/apt/Processor.java index 0c187f4b..9f3951bb 100644 --- a/src/lombok/javac/apt/Processor.java +++ b/src/lombok/javac/apt/Processor.java @@ -69,15 +69,15 @@ public class Processor extends AbstractProcessor { private Trees trees; /** {@inheritDoc} */ - @Override public void init(ProcessingEnvironment processingEnv) { - super.init(processingEnv); - if (!(processingEnv instanceof JavacProcessingEnvironment)) { - processingEnv.getMessager().printMessage(Kind.WARNING, "You aren't using a compiler based around javac v1.6, so lombok will not work properly."); + @Override public void init(ProcessingEnvironment procEnv) { + super.init(procEnv); + if (!(procEnv instanceof JavacProcessingEnvironment)) { + procEnv.getMessager().printMessage(Kind.WARNING, "You aren't using a compiler based around javac v1.6, so lombok will not work properly."); this.processingEnv = null; } else { - this.processingEnv = (JavacProcessingEnvironment) processingEnv; - handlers = HandlerLibrary.load(processingEnv.getMessager()); - trees = Trees.instance(processingEnv); + this.processingEnv = (JavacProcessingEnvironment) procEnv; + handlers = HandlerLibrary.load(procEnv.getMessager()); + trees = Trees.instance(procEnv); } } |