Created
February 9, 2011 01:23
-
-
Save ktoso/817695 to your computer and use it in GitHub Desktop.
które wolisz?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// obecnie | |
@ThrowEnsures({ | |
"NotEnoughBananasException", "countBananas() == 0" | |
}) | |
// wolałbym tak, "normalniej": | |
@ThrowEnsures(thrown = { | |
@Thrown(exception = NotEnoughBananasException.class, when = "countBananas() == 0") | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment