aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/Cleanup.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/Cleanup.java')
-rw-r--r--src/lombok/Cleanup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/Cleanup.java b/src/lombok/Cleanup.java
index 7d0fcc3c..ce9e0aa9 100644
--- a/src/lombok/Cleanup.java
+++ b/src/lombok/Cleanup.java
@@ -78,5 +78,5 @@ import java.lang.annotation.Target;
@Retention(RetentionPolicy.SOURCE)
public @interface Cleanup {
/** The name of the method that cleans up the resource. By default, 'close'. The method must not have any parameters. */
- String cleanupMethod() default "close";
+ String value() default "close";
}