Commit Graph

265 Commits

Author SHA1 Message Date
Roman Ivanov f782869339 partial fix for remove tag version from all javadocs, #718 2015-03-05 16:47:56 -08:00
alexkravin 0e36aba902 Empty Catch Block Check, updated docs 2015-03-04 13:52:58 -08:00
alexkravin de4485a22b Visibility Modifier Check, updated option setter, issue #710 2015-03-03 13:13:58 -08:00
alexkravin a2f74423b6 Generic Whitespace Check, updated method references processing, issue #677 2015-03-03 13:11:56 -08:00
alexkravin 2271d712c9 Hidden Field Check, updated docs for 'ignoreFormat' option, issue #607 2015-03-03 15:25:56 +04:00
Roman Ivanov 62a9d14870 Link to Java Coding Convention in DeclarationOrder check docs does not work correctly, #707 2015-03-02 15:47:06 -08:00
Roman Ivanov 64711ea328 update for Check summary, #571 2015-03-01 15:39:08 -08:00
alexkravin f9f60d3142 Visibility Modifier Check, added option allows public immutable fields, issue #61 2015-02-26 12:35:30 -08:00
ychulovskyy 03914ce3a0 Issue #572 BooleanExpressionComplexity misidentifies integer expression as boolean expression 2015-02-25 15:19:07 -08:00
alexkravin e508f61a11 Illegal Type Check, updated memberModifiers option setting, issue #663 2015-02-23 22:40:52 -08:00
alexkravin afa3be755c Annotation Location Check, extended typo fixing, issue #585 2015-02-21 13:15:21 +04:00
alexkravin 84115fe9bf Boolean Expression Complexity Check, fixed NPE, issue #654 2015-02-21 02:52:34 +04:00
alexkravin 5ede09997c Refactored UTs, checks package, issue #537 2015-02-20 17:02:47 +04:00
alexkravin 27149f3504 Refactored UTs, coding package, issue #537 2015-02-20 17:02:47 +04:00
alexkravin e912c46b5b Refactored UTs, design package, issue #537 2015-02-20 17:02:47 +04:00
alexkravin 5d698f4a58 Refactored UTs, header package, issue #537 2015-02-20 17:02:47 +04:00
alexkravin 2ea1a3dbab Refactored UTs, imports package, issue #537 2015-02-20 17:02:46 +04:00
alexkravin a15fcb34fb Refactored UTs, indentation package, issue #537 2015-02-20 17:02:46 +04:00
alexkravin cee4f35194 Refactored UTs, javadoc package, issue #537 2015-02-20 17:02:46 +04:00
alexkravin d8f8de2b53 Refactored UTs, metrics package, issue #537 2015-02-20 17:02:46 +04:00
alexkravin 0b98c0389e Refactored UTs, modifier package, issue #537 2015-02-20 17:02:46 +04:00
alexkravin 8ad4aebb66 Refactored UTs, naming package, issue #537 2015-02-20 17:02:46 +04:00
alexkravin 545237e358 Refactored UTs, regexp package, issue #537 2015-02-20 17:02:45 +04:00
alexkravin 0dc48c7c56 Refactored UTs, sizes package, issue #537 2015-02-20 17:02:45 +04:00
alexkravin 4596d0b4c5 Refactored UTs, whitespace package, issue #537 2015-02-20 17:02:45 +04:00
alexkravin a6b4759706 Final Local Variable Check, fixed false-positive, issue #258 2015-02-18 22:07:04 -08:00
Roman Ivanov c9a9e6508c Copiright become 2015 and 'the original author or authors.' 2015-02-18 13:14:32 -08:00
Alexey 24c13109a5 IndentationCheck. Refactoring: got rid of anonymous classes. 2015-02-18 07:31:33 -08:00
Baratali Izmailov 82f4a9852d Fixes #612. Added support of Windows line separator. Fixed UTs 2015-02-17 14:28:00 -08:00
Michal Kordas ff5cbc39c4 Replace verbose type arguments with diamond type <>
This syntax is not supported under Java 6 or earlier, but Checkstyle codebase uses Java 7 already.
2015-02-15 08:22:16 -08:00
Michal Kordas ca634f7caf Replace `StringBuffer` with `StringBuilder` to improve performance
Thread-safety given by `StringBuffer` doesn't give any benefit when used within one method, so in such cases `StringBuilder` is safe and more efficient replacement.
2015-02-15 09:57:43 +01:00
Baratali Izmailov 438456a8f1 fix #409. Javadoc comments for JAVADOC_TAG and JAVADOC_INLINE_TAG related nodes 2015-02-12 14:23:37 -08:00
Aaron Sheldon 83e23be070 Fix NPE when setting classpath.
Issue introduced with b8ca6a585b
2015-02-10 21:57:54 +00:00
alexkravin 3bcfcac9ee Abstract Class Name Check, updated default regex, issue #595 2015-02-10 07:06:49 -08:00
alexkravin 7c262e61e6 Empty Line Separator Check, fixed Exception if file doesn't have header, issue #621 2015-02-10 07:03:15 -08:00
alexkravin 351d79582d Fixed typo in 'ignoreOverriden' property of IllegalThrowsCheck, issue #623 2015-02-09 22:20:52 +04:00
Michal Kordas dfc803a1cc Use Collections.addAll() instead of adding elements individually
As per javadoc, `Collections.addAll()` may be significantly faster than adding elements individually using a for loop.
2015-02-08 15:48:11 -08:00
Roman Ivanov a4c5c652f6 extra method getAcceptableTokens was removed 2015-02-08 14:06:51 -08:00
alexkravin abe2b20031 Acceptable tokens are specified for all checks, issue #342 2015-02-08 13:46:27 -08:00
alexkravin 39ce82b920 TreeWalker update, added logging warning if AcceptableTokens are broken, issue #342 2015-02-08 13:46:27 -08:00
alexkravin 516b0df8c4 New Check: Empty Catch Block Check, issue #571 2015-02-08 23:43:41 +04:00
alexkravin 2db0dab62f Empty Line Separator Check, added option for managing empty lines between class members, issue #530 2015-02-01 14:00:35 +04:00
Roman Ivanov 209b22885a Revert "Empty Line Separator Check, added option for managing empty lines between class members, issue #530"
This reverts commit 3f853ae96a.
2015-01-31 19:48:38 -08:00
alexkravin 677acc1e84 Illegal Type Check, updated default illegal types, added memberModifiers option, issue #567 2015-01-31 00:45:42 +04:00
alexkravin ba4d62dc78 Custom Import Order Check, third-party package meaning is adjusted, issue #515 2015-01-30 17:41:47 +04:00
alexkravin 2ad4b0830d Custom Import Order Check, rewrote compare method, issue #234 2015-01-28 22:17:16 -08:00
alexkravin 3f853ae96a Empty Line Separator Check, added option for managing empty lines between class members, issue #530 2015-01-28 22:14:49 -08:00
alexkravin c6019cd352 Final Local Variable Check, fixed false-positive, issue #258 2015-01-26 18:43:49 -08:00
Dmitri Priimak 6784e5bcd5 HiddenField module can now accept setterCanReturnItsClass attribute. #598 2015-01-26 17:04:27 -08:00
alexkravin 204c073294 Added file extensions property to Checker & TreeWalker, issue #25 2015-01-25 13:30:21 +04:00