diff --git a/website/features/Cleanup.html b/website/features/Cleanup.html index 35100f09..3b3b09b4 100644 --- a/website/features/Cleanup.html +++ b/website/features/Cleanup.html @@ -24,7 +24,7 @@ If the type of object you'd like to cleanup does not have a close() method, but some other no-argument method, you can specify the name of this method like so:
@Cleanup("dispose") org.eclipse.swt.widgets.CoolBar bar = new CoolBar(parent, 0);
- By default, the cleanup method is presumed to be close(). A cleanup method that takes argument cannot be called via + By default, the cleanup method is presumed to be close(). A cleanup method that takes 1 or more arguments cannot be called via @Cleanup.