Commit Graph

2189 Commits

Author SHA1 Message Date
0cb627a67b Adjust priority of new rule UseDiamondOperator 2018-12-27 10:39:24 +01:00
a81403c842 Merge branch 'pr-1534' 2018-12-27 10:30:24 +01:00
db25def6b0 Update release notes, refs #1534, fixes #1517 2018-12-27 10:29:28 +01:00
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
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
61a82c369d Merge branch 'pr-1530' 2018-12-22 23:27:18 +01:00
2021dfe247 Fix externalInfoUrl for ForLoopVariableCount 2018-12-22 23:14:31 +01:00
b210618f79 Merge branch 'pr-1520' 2018-12-22 23:09:45 +01:00
f35fab2774 Move new rule ForLoopVariableCount to bestpractices 2018-12-22 23:03:18 +01:00
8810e58a31 This is the change regarding the usediamondoperator #1517 2018-12-20 23:13:52 +05:30
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
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
36feb85476 AvoidReassigningLoopVariables: fixed NPE when checking fields 2018-12-18 00:30:17 +01:00
83f30e6d4f AvoidReassigningLoopVariables: initial implementation 2018-12-17 22:58:59 +01:00
992526671b Merge branch 'pr-1514' 2018-12-13 09:01:41 +01:00
1834ac5ec3 Remove unnecessary CDATA sections 2018-12-13 09:00:12 +01:00
875785c435 Add additional test cases 2018-12-13 08:58:27 +01:00
5639222e95 Merge branch 'pr-1503' 2018-12-13 08:38:09 +01:00
bb0cb91348 Added Test 2018-12-12 21:02:43 +05:30
c9d9b74d1a Merge branch 'pr-1521' 2018-12-12 09:57:33 +01:00
b015cfc7d0 ForLoopVariableCount: new rule to check the number of control variables in a for loop 2018-12-10 22:31:09 +01:00
7b56a43865 removed unnecessary parameter declaration in codestyle.xml 2018-12-10 21:05:28 +01:00
e357da1723 Upgrade to ASM7
Remove ASM7_EXPERIMENTAL flag since ASM7 has been released.
2018-12-11 05:52:16 +11:00
8e8a5cb7e5 OneDeclarationPerLine: Don't report multiple variables in a for statement. 2018-12-09 22:41:34 +01:00
35cb3dda17 Removed CDATA and added test case 2018-12-10 00:06:13 +05:30
dcb8bb42a2 [maven-release-plugin] prepare for next development iteration 2018-12-09 10:42:20 +01:00
27374d8592 [maven-release-plugin] prepare release pmd_releases/6.10.0 2018-12-09 10:42:09 +01:00
c15ece60e2 LocalVariableCouldBeFinal: Added property to allow ignoring variables declared in a for-each statement. 2018-12-08 20:56:45 +01:00
16c7017aa9 Merge branch 'pr-1491' 2018-12-08 20:14:44 +01:00
e6ddfb9af3 LocalVariableCouldBeFinal: Added property to allow ignoring variables declared in a for-each statement. 2018-12-08 16:16:25 +01:00
2e0333978a Fix property description 2018-12-08 11:02:46 +01:00
011694ca5a Merge branch 'pr-1505' 2018-12-08 10:50:32 +01:00
c1bf6eed53 Make AvoidUsingHardCodedIPRule.CHECK_ADDRESS_TYPES_DESCRIPTOR public again 2018-12-08 10:49:16 +01:00
46a331ead8 Merge branch 'pr-1504' 2018-12-07 19:42:59 +01:00
c77345a886 Update release notes, fixes #1512, refs #1504 2018-12-07 19:40:34 +01:00
fa28c4ebc8 Convert some usages 2018-12-06 16:29:45 +01:00
4962bc2831 Remove usages of EnumeratedProperty 2018-12-06 15:21:00 +01:00
f41df32480 Merge branch 'pr-1502' 2018-12-05 20:25:39 +01:00
39215e1478 Merge branch 'pr-1501' 2018-12-05 19:55:05 +01:00
8f1791c5af Fix InvalidSlf4jMessageFormatRule fails with a NPE if a logger call with a variable as parameter is not inside a method or constructor.
Added test-cases for (static) initializer block and lambda expression block, which also can contain local variable declarations.
2018-12-05 09:48:34 +01:00
af0019c0dc Fix some line lengths 2018-12-05 00:41:30 +01:00
5135c481fa Remove booleanProperty overload 2018-12-05 00:36:28 +01:00
9cb7ac635f Remove wrong comment 2018-12-05 00:28:43 +01:00
83f8f1b410 Issue pmd#1035: ReturnFromFinallyBlock false-positives. 2018-12-05 00:26:18 +05:30
5c0978e5a5 Cleanup FieldDeclarationsShouldBeAtStartOfClass 2018-12-04 18:21:33 +01:00
904d76a068 Style 2018-12-04 14:00:39 +01:00
81c9d39bd8 Remove most usages of BooleanProperty 2018-12-04 13:49:35 +01:00
f6e667208e Merge branch 'pr-1492' 2018-12-04 12:46:59 +01:00
097901ea41 brushup 2018-12-04 11:31:59 +01:00
37dfa19687 Migrate usages of StringMultiProperty 2018-12-04 10:54:31 +01:00