Commit Graph
2201 Commits
Author SHA1 Message Date
Juan Martín Sotuyo Dodero f218518089 Merge pull request #1535 from adangel/unsynchronizedstaticformatter
[java] New rule: UnsynchronizedStaticFormatter
2019-01-13 00:44:41 -03:00
Andreas Dangel 5f34190851 [java] Private field is detected as public inside nested classes in interfaces
Fixes #1578
2019-01-11 17:14:47 +01:00
Juan Martín Sotuyo Dodero c8c5708b70 Merge branch 'master' into unsynchronizedstaticformatter 2019-01-10 17:27:55 -03:00
Andreas Dangel 38cff531c4 Add missing constructor call 2019-01-10 20:59:39 +01:00
Juan Martín Sotuyo Dodero 4354baacaf Merge branch 'pr-1551' 2019-01-08 20:43:28 -03:00
Andreas Dangel 11d949436e [doc] Add note which rules replace the deprecated rule. 2019-01-07 21:02:12 +01:00
Clément Fournier dc7e023644 Default methods are not abstract 2019-01-05 22:57:58 +01:00
Robbie Martinus a26aaac415 Moved logger message pattern to a field
Fixes gh-1549
2019-01-03 05:58:59 +11:00
Robbie Martinus d35e7398ba Moved logger to a field
Fixes gh-1549
2019-01-02 21:14:37 +11:00
Robbie Martinus 98b23d5420 InvalidSlf4jMessageFormatRule should not throw NPE for enums
Fixes gh-1549
2019-01-02 18:27:51 +11:00
Andreas Dangel 0cb627a67b Adjust priority of new rule UseDiamondOperator 2018-12-27 10:39:24 +01:00
Andreas Dangel a81403c842 Merge branch 'pr-1534' 2018-12-27 10:30:24 +01:00
Andreas Dangel db25def6b0 Update release notes, refs #1534, fixes #1517 2018-12-27 10:29:28 +01:00
hemanshu070 e00b0b83fa This commit is regarding the addition of the example tag to codestyle.xml and addition of the licence in the test class "UseDiamondOperator.java" 2018-12-24 18:50:17 +05:30
hemanshu070 5b6ac1b2fb This commit is regarding the addition of the since and the externalInfo URL and update the message to be more descriptive. 2018-12-23 20:04:43 +05:30
Andreas Dangel 61a82c369d Merge branch 'pr-1530' 2018-12-22 23:27:18 +01:00
Andreas Dangel 2021dfe247 Fix externalInfoUrl for ForLoopVariableCount 2018-12-22 23:14:31 +01:00
Andreas Dangel b210618f79 Merge branch 'pr-1520' 2018-12-22 23:09:45 +01:00
Andreas Dangel f35fab2774 Move new rule ForLoopVariableCount to bestpractices 2018-12-22 23:03:18 +01:00
hemanshu070 8810e58a31 This is the change regarding the usediamondoperator #1517 2018-12-20 23:13:52 +05:30
Andreas Dangel df64fd4d72 [java] New Rule UnsynchronizedStaticFormatterRule
This rule replaces UnsynchronizedStaticDateFormatterRule
2018-12-20 18:27:45 +01:00
Andreas Dangel 38be3d09a4 [java] UnsynchronizedStaticDateFormatterRule
* Use typeresolution
* Use rule chain
2018-12-20 18:09:56 +01:00
Kristian Scheibe cbebef552a AvoidReassigningLoopVariables: fixes and additional test cases for: FN when changing the condition/expression of a flow control statement, FP when accessing arrays using the loop variable or if the loop variable is an array being accessed 2018-12-20 14:31:39 +01:00
Kristian Scheibe c25f40829e AvoidReassigningLoopVariables: code-review, updated documentation, added simple control flow analysis to detect unconditional increments in for-loops 2018-12-20 09:25:42 +01:00
Kristian Scheibe 36feb85476 AvoidReassigningLoopVariables: fixed NPE when checking fields 2018-12-18 00:30:17 +01:00
Kristian Scheibe 83f30e6d4f AvoidReassigningLoopVariables: initial implementation 2018-12-17 22:58:59 +01:00
Andreas Dangel 992526671b Merge branch 'pr-1514' 2018-12-13 09:01:41 +01:00
Andreas Dangel 1834ac5ec3 Remove unnecessary CDATA sections 2018-12-13 09:00:12 +01:00
Andreas Dangel 875785c435 Add additional test cases 2018-12-13 08:58:27 +01:00
Andreas Dangel 5639222e95 Merge branch 'pr-1503' 2018-12-13 08:38:09 +01:00
Rishabh Deep Singh bb0cb91348 Added Test 2018-12-12 21:02:43 +05:30
Andreas Dangel c9d9b74d1a Merge branch 'pr-1521' 2018-12-12 09:57:33 +01:00
Kristian Scheibe b015cfc7d0 ForLoopVariableCount: new rule to check the number of control variables in a for loop 2018-12-10 22:31:09 +01:00
Kristian Scheibe 7b56a43865 removed unnecessary parameter declaration in codestyle.xml 2018-12-10 21:05:28 +01:00
Mark Pritchard e357da1723 Upgrade to ASM7
Remove ASM7_EXPERIMENTAL flag since ASM7 has been released.
2018-12-11 05:52:16 +11:00
Kristian Scheibe 8e8a5cb7e5 OneDeclarationPerLine: Don't report multiple variables in a for statement. 2018-12-09 22:41:34 +01:00
Rishabh Deep Singh 35cb3dda17 Removed CDATA and added test case 2018-12-10 00:06:13 +05:30
Andreas Dangel dcb8bb42a2 [maven-release-plugin] prepare for next development iteration 2018-12-09 10:42:20 +01:00
Andreas Dangel 27374d8592 [maven-release-plugin] prepare release pmd_releases/6.10.0 2018-12-09 10:42:09 +01:00
Kristian Scheibe c15ece60e2 LocalVariableCouldBeFinal: Added property to allow ignoring variables declared in a for-each statement. 2018-12-08 20:56:45 +01:00
Andreas Dangel 16c7017aa9 Merge branch 'pr-1491' 2018-12-08 20:14:44 +01:00
Kristian Scheibe e6ddfb9af3 LocalVariableCouldBeFinal: Added property to allow ignoring variables declared in a for-each statement. 2018-12-08 16:16:25 +01:00
Andreas Dangel 2e0333978a Fix property description 2018-12-08 11:02:46 +01:00
Andreas Dangel 011694ca5a Merge branch 'pr-1505' 2018-12-08 10:50:32 +01:00
Andreas Dangel c1bf6eed53 Make AvoidUsingHardCodedIPRule.CHECK_ADDRESS_TYPES_DESCRIPTOR public again 2018-12-08 10:49:16 +01:00
Andreas Dangel 46a331ead8 Merge branch 'pr-1504' 2018-12-07 19:42:59 +01:00
Andreas Dangel c77345a886 Update release notes, fixes #1512, refs #1504 2018-12-07 19:40:34 +01:00
Clément Fournier fa28c4ebc8 Convert some usages 2018-12-06 16:29:45 +01:00
Clément Fournier 4962bc2831 Remove usages of EnumeratedProperty 2018-12-06 15:21:00 +01:00
Andreas Dangel f41df32480 Merge branch 'pr-1502' 2018-12-05 20:25:39 +01:00