Commit Graph

3674 Commits

Author SHA1 Message Date
Roman Ivanov c8c02fc819 attempt to use cache 2015-05-14 16:41:27 -07:00
Roman Ivanov 871819b04d Update .travis.yml 2015-05-14 16:25:19 -07:00
MEZk 9122a37b9c test coverage for getRequiredTokens() and getAcceptableTokens(), issue #1024 2015-05-13 14:13:32 -07:00
Ivan Sopov bf10b021a7 removing abandoned test input files 2015-05-13 23:58:18 +03:00
Michal Kordas 38be87d86c Fix exception in OneTopLevelClass Check for package-info files. #1065 2015-05-13 10:12:45 -07:00
Vladlis 42fc689da0 test coverage for getRequiredTokens() and getAcceptableTokens(), #1009 2015-05-13 10:02:02 -07:00
Michal Kordas dba746ba93 Fix PMD violations from PrematureDeclaration rule. #948 2015-05-13 09:58:12 -07:00
Michal Kordas 5ff1834a22 Fix PMD violations from AvoidFieldNameMatchingMethodName rule. #984 2015-05-13 09:54:48 -07:00
Michal Kordas 3c7c3cbe88 Remove obsolete exclusion from PMD configuration. #960 2015-05-13 09:49:07 -07:00
Michal Kordas 466b1ebb31 Fix SeparatorWrap Check violations in Checkstyle code. #945 2015-05-13 09:47:17 -07:00
Michal Kordas 7fdcaa5929 Fix exception in FallThrough Check for nested switch statements. #837 2015-05-13 09:26:45 -07:00
Michal Kordas cda369e9cb Update commons-cli to 1.3. #1067 2015-05-11 12:56:24 -07:00
Mehmet Can Cömert 795968d20e Magic Number annotation detection enhanced for arbitary parent nodes, Issue #926 2015-05-11 12:53:51 -07:00
Michal Kordas 3300c3c835 Enable several Checkstyle Checks on codebase, issue #945 2015-05-10 21:04:18 +02:00
Michal Kordas 0c438f3347 Update wagon-ssh to 2.9. #1060 2015-05-07 16:13:26 +02:00
Roman Ivanov 1076e12e69 minor: suggested format for issue reference is changed to avoid misunderstanding 2015-05-06 13:07:06 -07:00
Roman Ivanov e3b3bfb999 Util classes should be moved out of api package. Issue #1057 2015-05-05 19:40:30 -04:00
Roman Ivanov 93e0187129 removal of validation suppressions, and resoling of them. Issue #596 2015-05-05 17:40:26 -04:00
Roman Ivanov e121ec185c minor: updte for general coverage numbers 2015-05-05 16:37:15 -04:00
Roman Ivanov 1a2c318e22 huge refactoring for CLI Main class. Issue #596 2015-05-05 11:12:12 -07:00
Michal Kordas d6272b70eb Update maven-assembly-plugin to 2.5.4, issue #1055 2015-05-05 17:08:49 +02:00
Michal Kordas 276799a968 Update cobertura-maven-plugin to 2.7, issue #916
In version 2.7 the new `cobertura-integration-test` report is generated by
default.
As Checkstyle doesn't have `integration-test` phase, just `cobertura`
report is enough and this needs to be set explicitly.
2015-05-04 17:33:03 +02:00
Michal Kordas a0acabc125 Fix FallThrough check violation in code, issue #945 2015-05-03 11:34:00 -07:00
Michal Kordas a2b8be14bb Fix PMD violations from SimplifyStartsWith rule, issue #949 2015-05-03 17:00:25 +02:00
Michal Kordas 0f543a21fe Fix DeclarationOrder check violations in Checkstyle code, issue #1049 2015-05-02 23:27:11 -07:00
Andrew Gaul 1df2edb7d6 Complete descriptions in checks index
Previously MissingDeprecated and MissingOverride had truncated
descriptions.
2015-05-02 14:39:40 -07:00
Michal Kordas d784ab7f69 Enable several Checkstyle checks on code, issue #945 2015-05-01 22:38:17 -07:00
Michal Kordas e63c0fb258 Enable EmptyLineSeparator check, issue #1040 2015-05-02 01:32:54 +02:00
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
Roman Ivanov ffd8797221 Resolved warnings during '-all.jar' generation. Issue #756 2015-04-28 14:46:35 -07:00