Commit Graph
27669 Commits
Author SHA1 Message Date
Clément Fournier bcb6859014 Merge branch 'master' into new-rule-lambdacanbemethodref 2024-04-04 16:49:19 +02:00
Andreas Dangel 97bd272fef Fix unused import 2024-04-04 16:36:53 +02:00
Juan Martín Sotuyo Dodero 3180a283cc Merge pull request #4921 from oowekyala/fix-pretty-printing
[java] Fix pretty printing for some exprs
2024-04-04 10:33:30 -03:00
Juan Martín Sotuyo Dodero eaec0dad28 Merge pull request #4923 from adangel/fix-checkstyle-config
Fix checkstyle config and checkstyle issues
2024-04-04 10:27:23 -03:00
Andreas Dangel 280b1a1ee3 Bump next version to be 7.1.0-SNAPSHOT 2024-04-04 10:49:18 +02:00
Andreas Dangel d88a3c50fe Fix checkstyle config and checkstyle issues 2024-04-04 10:46:05 +02:00
Andreas Dangel b1c40f1e33 Merge pull request #4864 from emouty:parametrize-assert-methods
Fix #1084 [Java] add extra assert method names to Junit rules #4864
2024-04-04 09:26:34 +02:00
Andreas Dangel 2174fc287a [doc] Update release notes (#1084, #4864) 2024-04-04 08:56:22 +02:00
Andreas Dangel 09714757ff Add @emouty as a contributor 2024-04-04 08:45:30 +02:00
Andreas Dangel e10f622866 Merge branch 'master' into pr-4864 2024-04-04 08:44:27 +02:00
Clément Fournier 09eefeac19 Revert changes to pretty printing 2024-04-03 22:58:10 +02:00
Clément Fournier 916213cc74 Fix pretty printing for some exprs 2024-04-03 22:57:33 +02:00
Clément Fournier af3d0a34f1 Fix pretty printing ctor 2024-04-03 22:54:41 +02:00
Clément Fournier e03ff54393 fix pretty printing 2024-04-03 22:10:43 +02:00
Andreas Dangel 07d96e7128 Merge pull request #4535 from oowekyala:issue4435-unusedAssignment
[java] Fix #4435 - FP with UnusedAssignment #4535
2024-04-03 21:01:30 +02:00
Andreas Dangel bf2e5f970b [doc] Update release notes (#4618, #3694) 2024-04-03 20:31:47 +02:00
Andreas Dangel 2f29801187 [java] Reference correct issues in test cases 2024-04-03 20:31:29 +02:00
Andreas Dangel 6834b3f18c [java] Update javadoc since 2024-04-03 20:31:04 +02:00
Andreas Dangel 71633b4b2e Merge branch 'master' into pr-4535 2024-04-03 20:13:36 +02:00
Clément Fournier e32b94af3f Change defaults of the rule and ignore method calls 2024-04-03 19:03:31 +02:00
Clément Fournier 955ccbf55c pmd warning 2024-04-03 18:02:40 +02:00
Clément Fournier c511485f5f Mrefs without expr qualifier cannot NPE 2024-04-03 16:38:54 +02:00
Clément Fournier 2e27fa631c Support method ref with first param as receiver 2024-04-02 20:32:48 +02:00
Clément Fournier b16c8de4e0 doc and release notes 2024-04-02 20:21:34 +02:00
Clément Fournier b478c36d63 support block lambdas 2024-04-02 20:17:46 +02:00
Clément Fournier fd9aca85e6 [java] Add new rule LambdaCanBeMethodReference 2024-04-02 19:52:48 +02:00
Andreas Dangel a28943ae1b Merge pull request #4909 from Monits:fix-4388
[pom] Properly navigate dependencyManagement node #4909
2024-04-02 19:48:21 +02:00
Andreas Dangel 5fbf7a26f1 [xml] fix integration test for pom rule 2024-04-02 19:47:24 +02:00
Andreas Dangel 34c3ec6e47 Merge pull request #4908 from oowekyala:issue4569-forloopcanbeforeach
[java] Fix #4569 issue with ForLoopCanBeForeach when stride is not 1 #4908
2024-04-02 19:23:25 +02:00
Andreas Dangel 115dee1db8 [doc] Update release notes (#4569) 2024-04-02 19:22:26 +02:00
Clément Fournier 24f84f90f1 deprecate duplicate methods in lambda expression 2024-04-02 17:55:48 +02:00
Juan Martín Sotuyo Dodero 58f5d81608 Update changelog, refs #4388 2024-04-02 12:53:20 -03:00
Juan Martín Sotuyo Dodero 490775fb49 Fix incorrect XPath 2024-04-02 12:51:14 -03:00
Juan Martín Sotuyo Dodero 00afd6d0a9 Update test cases for #4388 2024-04-02 12:50:56 -03:00
Juan Martín Sotuyo Dodero c9926fba4c Add test cases for #3219 2024-04-01 23:40:57 -03:00
Juan Martín Sotuyo Dodero 32b5f86bf6 Fix and reenable test case 2024-04-01 23:08:01 -03:00
Clément Fournier 0b58805712 format 2024-04-01 23:22:56 +02:00
Juan Martín Sotuyo Dodero 86328b7ad1 Add test cases for #1592 2024-03-31 02:24:02 -03:00
Juan Martín Sotuyo Dodero a47a30161c Merge pull request #4905 from adangel/issue-4885-assertions
[core] Improve AssertionUtil messages
2024-03-30 16:14:39 -03:00
Andreas Dangel c969753dd2 Merge pull request #4894 from Scrates1:space-error
Fix #4791 Error caused by space in JDK path #4894
2024-03-29 11:08:15 +01:00
Andreas Dangel 81637cfcbf [doc] Update release notes (#4791, #4894) 2024-03-29 11:07:32 +01:00
Andreas Dangel 46cd5e0c96 Update @Scrates1 as a contributor 2024-03-29 11:05:22 +01:00
Andreas Dangel 6c0571cf1b [cli] Fix double quoting in pmd.bat
Quoting happens now when we start java
2024-03-29 11:03:16 +01:00
Andreas Dangel ede73fa4ce [core] Improve assertion messages for unreachable code paths 2024-03-29 08:59:37 +01:00
Andreas Dangel f31d50fd90 [core] Test access of package private impl methods of nodes
This is a test case for #4885, but doesn't reproduce
the problem.
2024-03-29 08:56:37 +01:00
Juan Martín Sotuyo Dodero 7fc083f348 Add test case for #2937 2024-03-27 16:24:46 -03:00
Clément Fournier 4ce9507a5a Fix #4569 forloopcanbeforeach FP with non-unit stride 2024-03-27 17:34:08 +01:00
Clément Fournier f345f2c735 cleanup 2024-03-27 12:46:26 +01:00
Clément Fournier 3efb468338 Merge branch 'master' into issue4435-unusedAssignment 2024-03-27 12:44:12 +01:00
han.li 427d0951c2 fix the error caused by space in JDK path 2024-03-27 17:48:43 +08:00