Commit Graph

284 Commits

Author SHA1 Message Date
Michal Kordas a135b0952a Fix non-compiling input for CustomImportOrder check
There are no classes directly under `com.google.common` package - such import was illegal.
2015-03-15 15:11:38 -07:00
alexkravin 1c15b6a36b Moved all methods from checkstyle.api.utils to checkstyle.utils, issue #661 2015-03-15 14:22:16 -07:00
Michal Kordas 9c4cd707e3 Add test to verify that all checks are present on website, issue #783 2015-03-15 14:17:03 -07:00
alexkravin ca3ffb73ab Added support of logging severity for all audit events, issue #67 2015-03-14 23:32:11 -07:00
Bhavik Patel bca42a91b4 Coverage Improvement on FinalLocalVariableCheck 2015-03-12 23:23:40 +05:30
Michal Kordas 1bd30555ea Remove useless parentheses to fix PMD violations, issue #744
Parentheses are considered unnecessary if the evaluation order of an expression remains unchanged if the parentheses are removed.
2015-03-10 22:36:38 +01:00
liscju b9f232ffe0 Fix bug with multiple imports, part of issue #706 2015-03-10 12:58:34 -07:00
Michal Kordas 49a23751eb Remove obsolete double spaces 2015-03-09 23:26:22 -07:00
Michal Kordas aef1f36b5a Fix HiddenField ignoreSetter propery not working for one letter fields, issue #730 2015-03-09 23:22:16 -07:00
alexkravin b436b3cd98 Need Braces Check, one-line statements option, issue #300 2015-03-07 17:23:26 -08:00
alexkravin 5f68bb50fd Visibility Modifier Check, ignore annotated fields 2015-03-07 17:14:51 -08:00
liscju 244eb9d0a9 Fix bugs with multiple fields, part of issue #706 2015-03-06 07:41:21 -08:00
Bhavik Patel 93a33df5bd fix for FinalLocalVariableCheck - FOR_EACH_CLAUSE variable is not reported. issue #20 2015-03-06 11:09:58 +05:30
Roman Ivanov cf3c535a33 final fix for, remove tag version from all javadocs, #718 2015-03-05 17:25:00 -08:00
Roman Ivanov f53116d471 This reverts commit baf08b9cf8. 2015-03-05 17:22:23 -08:00
Roman Ivanov fe607ecab5 partial fix for remove tag version from all javadocs, #718 2015-03-05 17:02:17 -08:00
Roman Ivanov baf08b9cf8 partial fix for remove tag version from all javadocs, #718 2015-03-05 16:59:47 -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
Alexey ac8eadea0b Clarified all Indentation Input files for certain expected values. fixes #675. 2015-03-01 19:30:14 +03:00
Alexey f68cea4d40 Created copy of Input15Extensions.java into IndentationCheck test-input folder 2015-03-01 06:58:35 -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 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 bf780dee7d Copiright become 2015 and 'the original author or authors.' 2015-02-18 13:19:23 -08:00
Roman Ivanov c9a9e6508c Copiright become 2015 and 'the original author or authors.' 2015-02-18 13:14:32 -08:00
Alexey b37b43b59f Added missed @Test annotation on test-case 'IndentationCheckTest.testMethodCallLineWrap' 2015-02-18 09:45:27 -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
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
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
Roman Ivanov 751fb58811 all additional configuration files were moved to config folder 2015-02-03 13:55:05 -08:00