Commit Graph

4907 Commits

Author SHA1 Message Date
Michal Kordas daae0431d1 Issue #2161: Unify naming files with test inputs 2015-09-11 22:48:59 +02:00
Andrei Selkin dba6c944cd Issue #382: Fix HiddenField false positive violations for anonymous classes 2015-09-11 13:14:33 -04:00
Andrei Selkin bd9efb5e66 Issue #759: Create wide message for CheckstyleException in PackageObjectFactory 2015-09-11 18:04:45 +03:00
Roman Ivanov d58e2892c3 doc: improvement of formatting 2015-09-11 07:17:26 -07:00
Ilja Dubinin 526c9d0cba Issue #46: blocks of code should not be duplicated 2015-09-10 17:25:58 -07:00
Michal Kordas 0cf971e37b infra: Add -e switch to display stack trace of the errors in AppVeyor 2015-09-10 17:13:36 -07:00
Michal Kordas c1ce291701 Issue #2130: Fix "deprecation" compiler warnings in input files 2015-09-10 17:12:35 -07:00
Michal Kordas 9e5803a8ec Issue #2130: Fix "rawtypes" compiler warnings in input files 2015-09-10 21:11:44 +02:00
Andrei Selkin a29f01a95b Issue #67: Added support of logging severity for all audit events 2015-09-10 12:57:54 +03:00
Michal Kordas 4687b0b801 Issue #2130: Fix unchecked compiler warnings in input files 2015-09-09 15:58:56 -07:00
Andrei Selkin b9d3a7e995 Issue #215: Updated checkstyle_checks.xml to use ParameterNumber in default configuration 2015-09-09 14:00:04 -07:00
Andrei Selkin af9ed7386d Issue #606: Reorganized sections in eclipse.xml 2015-09-09 11:29:20 -07:00
Andrei Selkin e52892ba62 Issue #606: Extended Eclipse user guide for newbies of Checkstyle 2015-09-09 11:29:20 -07:00
Ilja Dubinin b9cad4d385 doc: examles order for DescedantTokenCheck has been changed. 2015-09-09 01:56:54 +01:00
Michal Kordas c0d3652d1b Issue #2135: Fix exception at NeedBraces check in enhanced for loops 2015-09-08 22:23:23 +02:00
Phillip Webb f7698ed23b Issue #2141: Allow @return tags from annotation types 2015-09-07 22:37:23 -07:00
Roman Ivanov 66b07f10af Issue #46: suppression was added to false-positive that IntelijIdea found in previous commit 2015-09-07 18:35:06 -07:00
Ilja Dubinin 33ab409c4e Issue #46: loops should not have more then one break or continue statement 2015-09-08 01:02:50 +01:00
Roman Ivanov a3b229b5d8 Issue #2080: VtlReferencesInspection is disabled as it produce a lot of false-positives 2015-09-07 15:43:27 -07:00
Michal Kordas 4ae3c95822 Issue #2137: Make test for FileTabCharacter locale and OS independent 2015-09-07 22:57:18 +02:00
Roman Ivanov 78103da033 Issue #2080: name violations are fixed, checkstyle suppressions were updated to validate names in tests too 2015-09-06 17:23:55 -07:00
Roman Ivanov c269a41736 minor: sonarqube badge was changed 2015-09-06 16:56:01 -07:00
Roman Ivanov a808227a6c teamcity badge 2015-09-06 16:39:09 -07:00
Roman Ivanov dc90dd2845 inspection suppression was moved to javadoc 2015-09-06 15:54:01 -07:00
Roman Ivanov 9ef8a38684 Revert "Issue #2065: additional attempt to resolve violation on TeamCity, DeclareCollectionAsInterface is disabled"
This reverts commit 18d5fd7eeb.
2015-09-06 15:37:09 -07:00
Roman Ivanov a36ac91b27 Revert "Issue #2065: additional attempt to resolve violation on TeamCity"
This reverts commit 652848ae06.
2015-09-06 15:36:39 -07:00
Michal Kordas 20b73ed383 Issue #2131: Add inspection scope profile for IDEA analysis 2015-09-06 22:55:23 +02:00
Michal Kordas ccf2d8315c Issue #1555: Remove usage of obsolete junit.framework.Assert class 2015-09-06 20:15:51 +02:00
Roman Ivanov 31d023b049 minor: my username was changed from sourceforge to github 2015-09-06 07:29:52 -07:00
Roman Ivanov 18d5fd7eeb Issue #2065: additional attempt to resolve violation on TeamCity, DeclareCollectionAsInterface is disabled 2015-09-06 06:34:07 -07:00
Roman Ivanov 652848ae06 Issue #2065: additional attempt to resolve violation on TeamCity 2015-09-06 06:11:24 -07:00
liscju cd10c41ca5 Issue #937: added tests for validating commit message. 2015-09-06 05:32:26 -07:00
Michal Kordas 4d8d047f46 Issue #2080: Fix typos in code
Fixes some `SpellCheckingInspection` inspection violations.

Description:
>Spellchecker inspection helps locate typos and misspelling in your code, comments and literals.
2015-09-06 14:17:36 +02:00
Roman Ivanov 5dffb5a301 Revert "minor: Intelij violation(Redundant suppression) is resolved"
This reverts commit 7e6084f236.
2015-09-05 17:26:51 -07:00
Roman Ivanov 7e6084f236 minor: Intelij violation(Redundant suppression) is resolved 2015-09-05 16:33:55 -07:00
Vladislav Lisetskiy 6f1406f980 Issue #2094: fix StringIndexOutOfBoundsException 2015-09-05 15:24:14 -07:00
Michal Kordas be7f7ed37b Issue #2065: Remove additional context from IDEA suppression
While suppression works fine, it causes false positive in `RedundantSuppression` inspection reported as [IDEA-144818](https://youtrack.jetbrains.com/issue/IDEA-144818).

Tag `@noinspection` is self-descriptive enough on its own.
2015-09-05 15:18:01 -07:00
Michal Kordas d105a27046 Issue #1555: Tune down inspection for overridden parameter names
ParameterNameDiffersFromOverriddenParameter does not require parameters to match names anymore if method is from external library and parameter may be wrongly named there.
2015-09-05 23:07:11 +02:00
Andrei Selkin 0e8002b728 Issue #2092: Corrected xdoc for TranslationCheck. 2015-09-05 20:57:04 +03:00
Andrei Selkin 984fd1cb8f Issue #2092: Activated TranslationCheck in checkstyle_checks.xml. 2015-09-05 16:01:48 +03:00
Michal Kordas d220d7c3cc Issue #2080: Fix typos in code
Fixes some `SpellCheckingInspection` inspection violations.

Description:
>Spellchecker inspection helps locate typos and misspelling in your code, comments and literals.
2015-09-04 20:28:43 -04:00
Michal Kordas e7547bb7dd Issue #2106: Fix Javadoc generation failure after addition of new tag 2015-09-04 16:27:53 -07:00
Michal Kordas 31f6765fdc Issue #2080: Fix typos in code
Fixes some `SpellCheckingInspection` inspection violations.

Description:
>Spellchecker inspection helps locate typos and misspelling in your code, comments and literals.
2015-09-04 14:48:17 -07:00
Michal Kordas 6839ac4fd8 Issue #2080: Add missing assertions to utils tests
Fixes some `TestMethodWithoutAssertion` inspection violations.

Description:
>Reports test methods of JUnit test case classes that do not contain any assertions. Such methods indicate either incomplete or weak test cases.
2015-09-04 14:47:31 -07:00
Michal Kordas 7a873e1333 Issue #2054: Add Codacy badge to main page 2015-09-04 23:01:45 +02:00
Vladislav Lisetskiy 45e3ec229d Issue #1214: Update all Checks html docs with link to hosted
configurations
2015-09-04 05:38:52 -07:00
Andrei Selkin 9acda0b233 Issue #1833: Fixed redundant modifier false positive for abstract classes in interfaces. 2015-09-04 05:32:51 -07:00
Roman Ivanov f2dacddde9 minor: update for --ff-only and fail-fast 2015-09-03 21:30:38 -04:00
Ilja Dubinin 0b4ae9160b Issue #46: loops should not contain more then one break. 2015-09-03 21:24:05 -04:00
Michal Kordas f7e41edb94 Issue #2080: Replace ternary condition operator with if
Fixes `ConditionalExpression` inspection violations.

Description:
>Reports the ternary condition operator. Some coding standards prohibit the use of the condition operator, in favor of if-else statements.
2015-09-03 18:07:24 -07:00