Commit Graph

2423 Commits

Author SHA1 Message Date
add4a78b57 Merge branch 'pr-1625' 2019-01-29 00:00:11 -03:00
081ee17349 Simplify test 2019-01-28 23:59:19 -03:00
6f2cd5fe29 Test cases added
Updated testcases.
2019-01-28 23:02:59 +05:30
746dc4e602 Code review changes
All overridden methods are ignored now.
2019-01-28 20:51:06 +05:30
1b9e63b4f4 #1543 [java] LinguisticNaming should ignore overriden methods
Overriden methods are ignored from LinguisticNamingRule.
2019-01-28 16:50:51 +05:30
189bb46ea1 UnusedImports false positive for method parameter type in @see Javadoc
Updated SEE_PATTERN regex pattern.
2019-01-28 14:39:08 +05:30
ea022f0e68 [java] Fix lombok.AllArgsConstructor support 2019-01-27 10:55:45 -05:00
63cd6d0f5c [maven-release-plugin] prepare for next development iteration 2019-01-27 13:25:00 +01:00
ea2776f70c [maven-release-plugin] prepare release pmd_releases/6.11.0 2019-01-27 13:24:51 +01:00
89c8f47b2b Move JavaCCTokenizer to internal package 2019-01-26 19:19:46 +01:00
8609aa314f Merge branch 'pr-1558' 2019-01-26 18:45:06 +01:00
2465e5395c Update pmd-java/src/main/resources/category/java/bestpractices.xml
Co-Authored-By: adangel <andreas.dangel@adangel.org>
2019-01-26 13:02:40 +01:00
f499927486 Merge remote-tracking branch 'origin/master' into use-try-with-resources 2019-01-26 12:27:00 +01:00
ac1ea34c4c [java] UseTryWithResources: fix false positive with no autocloseable 2019-01-26 12:16:19 +01:00
99d63cd261 [java] UseTryWithResources: Fix false negative 2019-01-26 11:59:04 +01:00
08b7dd49dd [core] Add a generic JavaCCTokenizer for CPD 2019-01-26 11:24:32 +01:00
b521126130 Merge branch 'pr-1550' 2019-01-14 18:50:17 +01:00
f218518089 Merge pull request #1535 from adangel/unsynchronizedstaticformatter
[java] New rule: UnsynchronizedStaticFormatter
2019-01-13 00:44:41 -03:00
5f34190851 [java] Private field is detected as public inside nested classes in interfaces
Fixes #1578
2019-01-11 17:14:47 +01:00
c8c5708b70 Merge branch 'master' into unsynchronizedstaticformatter 2019-01-10 17:27:55 -03:00
38cff531c4 Add missing constructor call 2019-01-10 20:59:39 +01:00
4354baacaf Merge branch 'pr-1551' 2019-01-08 20:43:28 -03:00
11d949436e [doc] Add note which rules replace the deprecated rule. 2019-01-07 21:02:12 +01:00
fe96101055 Handle null provider 2019-01-06 17:25:48 +01:00
5f2a5bb678 Implement for Java 2019-01-06 03:08:45 +01:00
dc7e023644 Default methods are not abstract 2019-01-05 22:57:58 +01:00
a26aaac415 Moved logger message pattern to a field
Fixes gh-1549
2019-01-03 05:58:59 +11:00
d35e7398ba Moved logger to a field
Fixes gh-1549
2019-01-02 21:14:37 +11:00
98b23d5420 InvalidSlf4jMessageFormatRule should not throw NPE for enums
Fixes gh-1549
2019-01-02 18:27:51 +11:00
ad078fad59 Deprecate StatisticalRule 2018-12-30 16:34:57 +01:00
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
4697cfded6 Externalise node matching DSL to oowekyala/kt-tree-utils 2018-12-22 11:55:00 +01:00
8364d97e92 [java] New Rule: UseTryWithResources
Fixes #1405
2018-12-21 11:26:05 +01:00
8810e58a31 This is the change regarding the usediamondoperator #1517 2018-12-20 23:13:52 +05:30
df64fd4d72 [java] New Rule UnsynchronizedStaticFormatterRule
This rule replaces UnsynchronizedStaticDateFormatterRule
2018-12-20 18:27:45 +01:00
38be3d09a4 [java] UnsynchronizedStaticDateFormatterRule
* Use typeresolution
* Use rule chain
2018-12-20 18:09:56 +01:00
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