checkstyle/checkstyle — pull request #493 by alexkravin (2014-12-13 11:03:30+00:00)
Title: Generic Whitespace Check, fixed bug - '>' is followed by an illegal char...

...acter while referencing methods issue #350

According to #350

Check wasn't able to process cases involved in Java8 (in context of Check - method references '::')
Added UT for this case. Now Check does not put violation if '>' follows by ':' (it reacts on next character after generic-end '>'), as found no way of usage generic type (not the object of this type) in ternary operator I don't expect following false-positives.

---------------------------------------------

This fix changes the same files as #488, so there will be need of merge.