Commit Graph

3642 Commits

Author SHA1 Message Date
Michal Kordas 463bf8d92e Move test input files to resources, issue #1040
These files have to be moved to be excluded from Checkstyle analysis.
2015-05-02 00:49:38 +02:00
Michal Kordas f9374238b2 Fix inner class should be static FindBugs violations, issue #928
All violations of [SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS](http://findbugs.sourceforge.net/bugDescriptions.html#SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS) are fixed.
2015-05-01 09:28:08 -07:00
Michal Kordas 7d5e825abd Fix PMD violations from AvoidThrowingNullPointerException, issue #960 2015-05-01 17:03:00 +02:00
Michal Kordas 193474f518 Fix PMD violations from TooFewBranchesForASwitchStatement rule, issue #998 2015-05-01 07:29:17 -07:00
Michal Kordas 4f9b3cdad8 Fix EmptyCatchBlock violations in Checkstyle codebase, issue #945 2015-05-01 15:19:10 +02:00
Roman Ivanov f24ef8374c fix for typo in documentation. Issue #1017 2015-05-01 00:18:40 -07:00
Michal Kordas c0e9bd2df7 Remove FastStack from API, issue #989 2015-04-30 17:53:29 -07:00
Michal Kordas a15e6af728 Include enums in CovariantEquals check analysis, issue #1011 2015-04-30 17:42:41 -07:00
Roman Ivanov e2ba2e95b3 minor extension for docs 2015-04-30 17:39:26 -07:00
Michal Kordas cf4f4b5357 Improve standard package regexp for CustomImportOrder check, issue #1020 2015-04-30 17:27:42 -07:00
Roman Ivanov 949f78ab60 OneTopLevelClass check example is broken and documentation missing, for 'tokens' property. Issue #1017 2015-04-30 20:08:04 -04:00
Michal Kordas 260490c05b Fix NPE in ModifiedControlVariable check, issue #1012 2015-04-30 16:30:46 -07:00
Michał Kordas aeef83ee58 Remove obsolete space from error message 2015-04-30 16:21:10 -07:00
Roman Ivanov ec83f8e883 OneTopLevelClass check example in documentation has invalid XML syntax. Issue #1016 2015-04-30 15:22:45 -07:00
Michał Kordas 3231bfbefa Add missing space in error message for CustomImportOrder check 2015-04-30 23:54:47 +02:00
Michal Kordas c0446a8255 Fix PMD violations from UseVarargs rule, issue #999
The changes are fully backward-compatible. Method with vararg can be invoked both using array and list of parameters.
2015-04-29 17:21:14 -07:00
Roman Ivanov 6a9872d60c minor fix for documentation 2015-04-28 15:12:02 -07:00
Roman Ivanov ffd8797221 Resolved warnings during '-all.jar' generation. Issue #756 2015-04-28 14:46:35 -07:00
Roman Ivanov 2ad2c3e9ba snapshot repository was added to ease testing, updates for taglist configs and changes for links in comments 2015-04-27 16:58:00 -07:00
Michał Kordas db2266902f Fixes to Release Notes for Checkstyle 6.6 2015-04-27 08:23:57 +02:00
Roman Ivanov 018227c1c0 [maven-release-plugin] prepare for next development iteration 2015-04-26 15:47:26 -07:00
Roman Ivanov e01a55ae8f [maven-release-plugin] prepare release checkstyle-6.6 2015-04-26 15:27:21 -07:00
Roman Ivanov e3a57f5622 release notes 6.6 2015-04-26 15:11:19 -07:00
Michal Kordas 4208891158 Repair ignored test, issue #994 2015-04-26 13:43:14 -07:00
Roman Ivanov e971fcd9b5 fix for PMD logging-java rules. Issue #870 2015-04-26 10:33:29 -07:00
Roman Ivanov a033b87e5e suppression comments were added. Issue #744 2015-04-26 10:22:06 -07:00
Roman Ivanov 0552912c9f fix for violations of PMD LogicInversion. Issue #744 2015-04-26 10:14:36 -07:00
Roman Ivanov e453e5bdb3 fixed violations for PMD rule SingularField. Issue #744 2015-04-26 09:57:28 -07:00
Roman Ivanov c1ce1f8f0c fixed violations for PMD rule UseCollectionIsEmpty. Issue #744 2015-04-26 09:49:35 -07:00
Roman Ivanov 32774b62c8 comments were added for suppressions. Issue #744 2015-04-26 09:43:31 -07:00
Roman Ivanov a0b357c760 Michał Kordas was added to prominent contributor list 2015-04-26 09:36:19 -07:00
Michal Kordas 51b2114e61 Fix AnnotationLocation violation in Checkstyle codebase, issue #945 2015-04-26 09:15:13 -07:00
Michal Kordas f374e2e7a0 Fix AvoidStaticImport check violations in codebase, issue #979 2015-04-26 09:13:56 -07:00
Roman Ivanov cb5f9827e5 activation and suppression comments for PMD design rules. Issue #744 2015-04-25 23:46:48 -07:00
Michal Kordas 55b266cd92 Fix AtclauseOrder check violations in codebase, issue #978 2015-04-26 02:30:41 +02:00
Michal Kordas 31db0435b7 Resolve Javadoc problems found by Checkstyle, issue #978 2015-04-26 01:42:24 +02:00
Michal Kordas 53eddca5d1 Replace all occurrences of FastStack with ArrayDeque, issue #86 2015-04-25 16:35:30 -07:00
Michal Kordas fe345d3db7 Fix PMD violations from 'javabeans' ruleset in Checkstyle, issue #987 2015-04-25 16:33:25 -07:00
Roman Ivanov 228936fb40 PMD rule LongVariable is activated. Issue #744 2015-04-25 16:29:45 -07:00
Michal Kordas fcb9246b30 Provide reasons for exclusions in 'naming' ruleset, issue #982 2015-04-24 23:09:20 +02:00
Michal Kordas b29ca6b5f6 Fix and suppress PMD violations from ShortClassName rule, issue #982 2015-04-24 23:09:13 +02:00
Michal Kordas 4ac32a7c0c Fix PMD violations from ShortMethodName rule, issue #982 2015-04-24 21:21:29 +02:00
Michal Kordas f9a9d6c3d3 Fix PMD violations from BooleanGetMethodName rule, issue #982 2015-04-24 21:19:14 +02:00
Michal Kordas 5cd16d56a2 Fix PMD violations - AvoidFieldNameMatchingTypeName rule, issue #982 2015-04-24 21:12:15 +02:00
Michal Kordas e8a4ab77ab Expand PMD configuration for 'naming' ruleset, issue #982 2015-04-24 21:12:10 +02:00
Roman Ivanov 589c5a261a added validation for header in setHeader in RegexpHeaderCheck.java to provide better feedback when an invalid Pattern is specified (was InvocationTargetException only before). Changes are made base on @krichter722 commit. Issue #897 2015-04-24 09:10:26 -07:00
Damian Szczepanik ab2f93f9bf Delete System.exit() and delegate exit control into separate method.
Issue #596
2015-04-23 22:18:45 -07:00
Roman Ivanov e380ac8df9 fix for build failure, casued by simple moving synchronized from method to block 2015-04-23 19:55:18 -04:00
Roman Ivanov 3d3f3d5f9c PMD rule AbstractClassWithoutAbstractMethod is activated. Issue #744 2015-04-23 19:51:10 -04:00
Roman Ivanov b26b43a331 some PMD design rules were activated and commented with reason of exclude. Issue #744 2015-04-23 19:40:47 -04:00