Commit Graph

2568 Commits

Author SHA1 Message Date
Michal Kordas 44e274bfba Remove unnecessary semicolons to fix PMD violations, issue #744
All violations of rule [EmptyStatementNotInLoop](http://pmd.sourceforge.net/pmd-5.2.3/pmd-java/rules/java/empty.html#EmptyStatementNotInLoop) are fixed. Empty statements sometimes were used to trick Checkstyle to allow empty blocks. While generally empty blocks are bad practice, there are too many of them in Checkstyle code to fix them in scope of this commit. Instead, [EmplyBlock](http://checkstyle.sourceforge.net/config_blocks.html#EmptyBlock) setting was changed to allow empty block when there is comment inside it for Checkstyle codebase.
2015-03-11 15:40:55 -07:00
ychulovskyy 5f2116bd26 Updated release notes 2015-03-11 21:29:38 +01:00
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
alexkravin 2a587d5274 Extended guide for newbies, issue #606 2015-03-10 08:33:59 -07:00
Michal Kordas 8019f1f4b7 Fix typo in violation message of ModifierOrder check, issue #740 2015-03-10 08:04:28 -07:00
Michal Kordas dc146b088b Remove block marker comments from code 2015-03-10 07:47:19 -07:00
Michal Kordas 89005ddf6d Replace calls to equals() on enums with identity comparison
This replacement is safe because two enum constants are equal only when they have the same identity.
2015-03-10 07:46:22 -07:00
Michal Kordas fde9678a2f Fix invalid link in release notes for Checkstyle 6.3, issue #730 2015-03-09 23:31:37 -07:00
Michal Kordas 5746547b11 Fix reference to JLS in PackageAnnotation docs, issue #674 2015-03-09 23:27:47 -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
Michal Kordas ba5555995f Fix code example in HiddenField docs, issue #729 2015-03-09 23:19:15 -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
Roman Ivanov 397c361c3f partial fix for remove tag version from all javadocs, #718 2015-03-05 16:56:29 -08:00
Roman Ivanov 9ea39c8431 partial fix for remove tag version from all javadocs, #718 2015-03-05 16:52:57 -08:00
Roman Ivanov 9bbb2de987 partial fix for remove tag version from all javadocs, #718 2015-03-05 16:51:52 -08:00
Roman Ivanov f782869339 partial fix for remove tag version from all javadocs, #718 2015-03-05 16:47:56 -08:00
Roman Ivanov 571f0f33d5 update for documentation for path.separator , #712 2015-03-04 14:54:26 -08:00
Roman Ivanov 17aef6d4c7 old parameter was removed , #712 2015-03-04 14:31:05 -08:00
alexkravin 0e36aba902 Empty Catch Block Check, updated docs 2015-03-04 13:52:58 -08:00
Michal Kordas 2c145eda7d Fix typos in release notes for Release 6.4.1 2015-03-04 17:39:50 +01:00
Roman Ivanov 7dec06a4bf fix for typo in issue number 2015-03-03 22:47:59 -08:00
Roman Ivanov 712cb6f456 release notes for 6.4.1 version 2015-03-03 17:27:39 -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
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
Michal Kordas 187388ac1d Fix incorrect author in release notes for issue #606 2015-03-01 15:50:10 +01:00
Michal Kordas 00b4b409a1 Fix typos in release notes 2015-03-01 15:48:08 +01:00
Roman Ivanov 491094ec60 typo was fixed 2015-02-28 13:01:15 -08:00
Roman Ivanov 2073e48b95 updte for release notes 6.4 2015-02-27 13:58:43 -08:00
Glenn Hollingsworth 63a6469c29 Update config links in Google Style, Issue #686
Fixed links for config, checked links for tests.
Removed extra tabgle cell.
Removed [] in config/test column.
Fixed small spelling mistake.
2015-02-27 01:53:52 -05:00
Roman Ivanov cc259e1714 command to build the site 2015-02-26 21:17:30 -08:00
Roman Ivanov a88bf08cfb fix for build 2015-02-26 15:25:02 -08:00
Roman Ivanov fe1fb7f6b2 update for release notes 6.4 2015-02-26 14:55:21 -08:00
alexkravin 1cc96117de Site: added feeds icons, issue #617 2015-02-27 01:00:01 +04:00
Roman Ivanov d2176afac8 update for release notes 6.4 2015-02-26 12:39:27 -08:00
alexkravin f9f60d3142 Visibility Modifier Check, added option allows public immutable fields, issue #61 2015-02-26 12:35:30 -08:00
Roman Ivanov 343b75b252 information about releases plan was added 2015-02-26 11:25:33 -08:00