Commit Graph

2725 Commits

Author SHA1 Message Date
Michal Kordas 224d8144c2 Fix EmptyLineSeparator violations for fields, issue #1040 2015-05-02 01:32:54 +02:00
Michal Kordas b83375fc6d Fix EmptyLineSeparator violations for methods, issue #1040 2015-05-02 01:32:53 +02:00
Michal Kordas bc573aaaaf Fix EmptyLineSeparator violations for classes, issue #1040 2015-05-02 01:32:53 +02:00
Michal Kordas 31421dcdda Fix EmptyLineSeparator violations for packages, issue #1040 2015-05-02 01:32:48 +02:00
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
Michał Kordas db2266902f Fixes to Release Notes for Checkstyle 6.6 2015-04-27 08:23:57 +02: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 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
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
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 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
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 3d3f3d5f9c PMD rule AbstractClassWithoutAbstractMethod is activated. Issue #744 2015-04-23 19:51:10 -04:00
Roman Ivanov 18ed7958cf PMD rule AvoidSynchronizedAtMethodLevel is activated. Issue #744 2015-04-23 19:34:59 -04:00
Roman Ivanov e30fa27dc4 PMD Rule:AccessorClassGeneration Priority:3 Avoid instantiation through private constructors from outside of the constructors class. Issue #744 2015-04-23 18:52:43 -04:00
Roman Ivanov 8bd1d6869b PMD rule AvoidDeeplyNestedIfStmts is activated. Issue #744 2015-04-23 18:09:00 -04:00
Roman Ivanov 232246fb93 PMD Rule:SwitchStmtsShouldHaveDefault Priority:3 Switch statements should have a default label. Issue #744 2015-04-23 16:48:10 -04:00
Michal Kordas 9399831eea Extend LeftCurly check to verify static initializers, issue #966 2015-04-23 13:11:19 -07:00
Mehmet Can Cömert 335d28b494 issue969: Fix upper/lower case conversation, enhance tests 2015-04-23 12:43:24 -07:00
Michal Kordas 9ea33d0720 Extend EmptyBlock check to verify synchronized blocks, issue #964 2015-04-23 21:24:55 +02:00
Roman Ivanov dd6b080a16 all TODO/FIXME were removed , some of them converted to issues 2015-04-23 13:38:31 -04:00
Roman Ivanov bc9eae330a PMD Rule:OneDeclarationPerLine Priority:4 Use one line for each declaration, it enhances code readability. Issue #744 2015-04-22 17:05:31 -04:00
Roman Ivanov a733182557 PMD Rule:AssignmentInOperand Priority:3 Avoid assignments in operands. Issue #744 2015-04-22 16:37:37 -04:00
Roman Ivanov 9b5594952d Rule:UnnecessaryConstructor Priority:3 Avoid unnecessary constructors - the compiler will generate these for you. Issue #744 2015-04-22 12:38:46 -07:00