Commit Graph

2756 Commits

Author SHA1 Message Date
Michal Kordas cf5851ed29 Use EqualsVerifier to test CSVFilter. #1088 2015-05-18 05:56:41 -07:00
vlad e67c9bf046 100% coverage for DesignForExtensionCheck, #1009 2015-05-18 11:37:47 +03:00
vlad c5e7dea987 fix for testGetRequiredTokens() methods in the package, #1009 2015-05-18 11:37:47 +03:00
Michal Kordas 2f1b20f220 Use EqualsVerifier to test SuppressWithNearbyCommentFilter. #1088 2015-05-17 19:31:28 +02:00
Michal Kordas 0f58857d73 Change location of left curly braces to end of line. #1089 2015-05-17 13:47:09 +02:00
Michal Kordas fb9f55e890 Make tests of Main class platform independent. #1086 2015-05-16 22:22:27 -07:00
Michal Kordas 56743942d5 Extend ReturnCount Check to treat lambdas separately. #1068 2015-05-16 22:19:07 -07:00
Roman Ivanov 6cdcfc135a Findbugs violation: defines compareTo(LineColumn) and uses Object.equals(). #911 2015-05-15 23:52:15 -07:00
Roman Ivanov e6034ec381 Findbugs violation: AuditEvent.message is transient but isn't set by deserialization. #909 2015-05-15 17:04:32 -07:00
Roman Ivanov 5e0b6286ac Findbugs violation: api.TokenTypes do System.exit(...). #923 2015-05-15 15:31:59 -07:00
Roman Ivanov 0f06b92909 minor, activate link in javadoc/xdoc 2015-05-15 13:52:01 -07:00
Roman Ivanov 3e22f93479 minor, activate link in javadoc/xdoc 2015-05-15 13:46:10 -07:00
Roman Ivanov c3dc1a94f3 Findbugs violation: resolve all violations from gui package. #925 2015-05-15 13:23:17 -07:00
Roman Ivanov e1a27939ae method setClassloader was renamed to setClassLoader with deprecation of old method. #922 2015-05-15 10:59:13 -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 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
Mehmet Can Cömert 795968d20e Magic Number annotation detection enhanced for arbitary parent nodes, Issue #926 2015-05-11 12:53:51 -07: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 1a2c318e22 huge refactoring for CLI Main class. Issue #596 2015-05-05 11:12:12 -07: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 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