Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
AnnotationUseStyle: compact_no_array does not violate extended and multi param annotations #3210
Expected violations are marked at source code - there should be 3 of them as all of them are not compact.
Attention: "compact" mode should give 1 violation 1st line.
changed the title
AnnotationUseStyle: add support for redundant value attribute and redundant array for single-value attribute
Jun 28, 2016
@eric-milles @romani There is some problem with this issue.
What should i do? I dont know why we need to have "value" element to validate a single value array, so we can allow to mark a single value array in any element as violate and just use "value" to validate "compact" rule. Or we can just ignore it?
@Sekair , we need to validate all elements of annotation not only default("value").
I appreciate your help, thanks in advance.