Commit Graph

3198 Commits

Author SHA1 Message Date
6b23b13497 Move test config from file to test class
Keep it simple. The config file stored only a single line for years.
2020-09-30 22:48:43 +02:00
aa245c6e1b [maven-release-plugin] prepare for next development iteration 2020-09-26 10:25:16 +02:00
722f3ca997 [maven-release-plugin] prepare release pmd_releases/6.28.0 2020-09-26 10:25:05 +02:00
d3ca0319b3 Merge branch 'master' into issue-2755 2020-09-25 14:24:08 +02:00
f046268058 [java] CloseResource: add simple test case for var 2020-09-21 19:47:42 +02:00
87890b852a [java] CloseResource: Fix test code 2020-09-21 19:39:24 +02:00
8c97300af8 Fix doc
Parameters were in the wrong order.
2020-09-18 04:04:35 +02:00
2093011913 Fix array & annot subtyping 2020-09-18 03:58:05 +02:00
81a72cb43e [java] CloseResource: Fix NPE in case of "var" 2020-09-17 18:49:21 +02:00
3c1b0afcf6 Fix #2783 2020-09-16 15:40:45 +02:00
606d25de82 Merge branch 'pr-2761' into master
[java] Fix #2759, UnusedAssignment false positive #2761
2020-09-12 11:37:09 +02:00
9ed79f46fd Merge branch 'pr-2770' into master
[java] Fix #2767, PMD cannot parse a local var with final in instance initializer #2770
2020-09-11 17:52:25 +02:00
6af4f1ecea Merge branch 'pr-2771' into master
[java] Fix #2756, NPE in TypeTestUtil #2771
2020-09-11 17:40:43 +02:00
2d0d098d2c [java] Add test case for #2738 2020-09-11 16:59:16 +02:00
fedea535b5 issue-2738: Adding null check to avoid npe when switch case is default 2020-09-10 19:19:43 -07:00
46933e666d Fix #2756, NPE in TypeTestUtil 2020-09-10 12:49:45 +02:00
fc759db5ca Fix #2767
Problem was the stack is empty if the local var declaration
is the first node of the compilation unit to be pushed.
2020-09-10 12:24:03 +02:00
b0f924495b Fix bug
Problem was, isInTryBlock didn't ask for parent
states, even though abruptCompletionByThrow does.
2020-09-03 12:13:37 +02:00
3a33092d22 Add test case 2020-09-02 16:45:19 +02:00
b3e0c54a80 Fixed a typo 2020-09-01 09:03:28 +01:00
85754378f7 Added test for multiple VariableDecoratorIds 2020-09-01 09:02:48 +01:00
776c0c154f Addressed review comments 2020-09-01 08:55:52 +01:00
ba5c2f4288 Merge pull request #1 from pmd/master
Update with changes
2020-09-01 08:52:34 +01:00
c59af0aee6 [maven-release-plugin] prepare for next development iteration 2020-08-31 18:30:18 +02:00
856950f0d2 [maven-release-plugin] prepare release pmd_releases/6.27.0 2020-08-31 18:30:09 +02:00
363c3a30ff Trigger for non lombok Builder.Default 2020-08-27 08:45:53 +01:00
e5d0b7243f revert in package net.sourceforge.pmd.lang.java.typeresolution 2020-08-27 12:09:19 +08:00
1a443f92f3 Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentContentRule.java
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2020-08-27 12:02:21 +08:00
44a08faf7f Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2020-08-27 12:01:20 +08:00
244a39db0f fix typos. 2020-08-27 11:47:11 +08:00
cd98a36b66 [java] Fix 2708: False positive FinalFieldCouldBeStatic 2020-08-26 16:52:13 +01:00
129de133cf Merge branch 'master' into use_addAll 2020-08-25 14:50:23 +02:00
36c3d87272 Add md formatting 2020-08-25 14:38:59 +02:00
d7df3d342b Merge branch 'master' into suspicious-equals 2020-08-25 14:37:56 +02:00
0a18460234 Update pmd-java/src/main/resources/category/java/errorprone.xml 2020-08-25 14:37:29 +02:00
ab7b7a4ad7 Use markdown format 2020-08-25 14:29:01 +02:00
4d888eeaab Merge branch 'master' into mateusz-stefanski-master 2020-08-25 14:27:19 +02:00
dc4e93ffe7 Merge branch 'javadoc' into master
Refs #2728
2020-08-24 20:20:39 +02:00
9c5759917d Merge branch 'index_of_to_contains' into master
Refs #2727
2020-08-24 20:20:12 +02:00
13af7b530d fix javadoc 2020-08-24 19:33:47 +08:00
31ee6bfca1 fix checkstyles 2020-08-24 19:29:44 +08:00
33f4e27254 addAll issues 2020-08-24 16:58:10 +08:00
135d17b4ae valueOf to parse when we need primitive return value. 2020-08-24 16:48:50 +08:00
b9e62fb4eb indexOf to contains 2020-08-24 16:43:23 +08:00
af6969a29a [doc] [java] SuspiciousEqualsMethodName: update description, fixes #2264 2020-08-23 21:02:25 +02:00
c161e57c1d [doc] [java] SimplifyStartsWith: update description and example, fixes #1868 2020-08-23 19:20:17 +02:00
f7a78011ac Merge branch 'master' into deprecations-for-2661-and-2706 2020-08-23 16:40:51 +02:00
a98f3d6201 Merge branch 'pr-2721' into master
[java] Deprecate old symbol table, add replacement for TypeHelper #2721
2020-08-23 10:01:34 +02:00
0889b94aa5 [doc] [java] ImmutableField: extend description, fixes #2108 2020-08-23 01:15:18 +02:00
1c4390fed4 Fix tests 2020-08-22 19:42:05 +02:00