aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/javac/handlers/HandleCleanup.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-07-18 01:52:56 +0200
committerRoel Spilker <r.spilker@gmail.com>2009-07-18 01:52:56 +0200
commit55dd52942e11dae5510a5a4b261b296151532e1e (patch)
tree724a11cdb8eb715847de805713dc0f7e03fde04a /src/lombok/javac/handlers/HandleCleanup.java
parentde15a9d760d215b285d74a47184ca4e49c6c9268 (diff)
parenta61efb8db4904a848ba69f3e87747db5883693c1 (diff)
downloadlombok-55dd52942e11dae5510a5a4b261b296151532e1e.tar.gz
lombok-55dd52942e11dae5510a5a4b261b296151532e1e.tar.bz2
lombok-55dd52942e11dae5510a5a4b261b296151532e1e.zip
Merge branch 'master' of git@github.com:rzwitserloot/lombok
Diffstat (limited to 'src/lombok/javac/handlers/HandleCleanup.java')
-rw-r--r--src/lombok/javac/handlers/HandleCleanup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/javac/handlers/HandleCleanup.java b/src/lombok/javac/handlers/HandleCleanup.java
index 04ed2ed6..7a2f232d 100644
--- a/src/lombok/javac/handlers/HandleCleanup.java
+++ b/src/lombok/javac/handlers/HandleCleanup.java
@@ -53,7 +53,7 @@ import com.sun.tools.javac.util.Name;
@ProviderFor(JavacAnnotationHandler.class)
public class HandleCleanup implements JavacAnnotationHandler<Cleanup> {
@Override public boolean handle(AnnotationValues<Cleanup> annotation, JCAnnotation ast, Node annotationNode) {
- String cleanupName = annotation.getInstance().cleanupMethod();
+ String cleanupName = annotation.getInstance().value();
if ( cleanupName.length() == 0 ) {
annotationNode.addError("cleanupName cannot be the empty string.");
return true;