checkstyle/checkstyle — pull request #498 by alexkravin (2014-12-14 15:34:56+00:00)
Title: No Whitespace After Check - added support of array declarations, issue #...

...68

According to #68

Added support of array declarations.
Added UT for such cases and corresponding input.

As arrays can be declared in both, Java and C style, e.g.:
1. int[] array = { ... }; //Java style
2. int array[] = { ... }; //C style

And both these cases are represented identically in AST, there was a need to make a method checking style of declaration.

Furthermore, return type of methods can be declared in both styles too, e.g.:
1. int[] get(params_list) { return null;} //Java style
2. int get(params_list)[] { return null;} //C style

And in second case Check has to put violation after the end of params list.
===================

All these cases are covered by UT.