Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using @Cleanup("methodName") fails on javac. #87

Closed
lombokissues opened this issue Jul 14, 2015 · 3 comments
Closed

Using @Cleanup("methodName") fails on javac. #87

lombokissues opened this issue Jul 14, 2015 · 3 comments

Comments

@lombokissues
Copy link

Migrated from Google Code (issue 14)

@lombokissues
Copy link
Author

👤 reinierz   🕗 Aug 01, 2009 at 14:24 UTC

The problem lies in the annotation builder: It assumes every parameter to an annotation is
neccessarily of the 'annotationKey="value"' variant, and does not handle the just the '"value"' variant
(which implicitly sets the value of the key named "value").

A workaround is to write it out: @ Cleanup(value="methodName").

@lombokissues
Copy link
Author

👤 reinierz   🕗 Aug 01, 2009 at 14:25 UTC

Handled in commit 383586c

will be rolled out in v0.8.3

@lombokissues
Copy link
Author

End of migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant