Hi,
I'm currently using the IDEA code style from the GitHUb repo:
https://github.com/hibernate/hibernate-ide-codestyles
However, not all classes use the same styling, so which one is correct in
regards to Annotations parameters?
1. OnExpectedFailure
@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.METHOD )
public @interface OnExpectedFailure {
}
2. TestForIssue
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })
public @interface TestForIssue {
/**
* The key of a JIRA issue tested.
* @return The jira issue key
*/
String jiraKey();
}
Thanks,
Vlad