Andreas Dangel
|
4c45d6125e
|
Merge branch 'master' into pmd/7.0.x
|
2022-04-29 13:40:05 +02:00 |
|
Andreas Dangel
|
c224209d7f
|
[test] Backport NodePrinters.kt from pmd7
|
2022-04-29 11:38:52 +02:00 |
|
Andreas Dangel
|
f1a69b6ba9
|
Merge branch 'master' into pmd/7.0.x
|
2022-04-28 15:42:19 +02:00 |
|
Andreas Dangel
|
c9fa05d2c7
|
Merge pull request #3938 from VoidxHoshi:master
[java] Modify SimplifiedTernary to meet the missing case #3603 #3938
|
2022-04-28 15:03:28 +02:00 |
|
Andreas Dangel
|
69c7f4b2ad
|
Merge pull request #3930 from adangel:improve-ArrayIsStoredDirectly
[java] Improve rule ArrayIsStoredDirectly #3930
|
2022-04-28 14:54:15 +02:00 |
|
Andreas Dangel
|
4d78148504
|
Merge pull request #3900 from adangel:issue-3867-usearraysaslist
[java] Fix UseArraysAsList with method calls #3900
|
2022-04-28 14:51:31 +02:00 |
|
 LaLucidandClément Fournier
|
f29770f968
|
Use a more clear XPath form
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
|
2022-04-27 05:47:07 +08:00 |
|
LaLucid
|
e951d6df8f
|
Use a more clear XPath form to replace the former
|
2022-04-27 04:07:02 +08:00 |
|
LaLucid
|
3841e7d0c9
|
Revert the original XPath
|
2022-04-25 06:50:56 +08:00 |
|
LaLucid
|
f1a2a77e64
|
modify the SimplifiedTernary test
|
2022-04-25 03:31:19 +08:00 |
|
LaLucid
|
56cc9fc163
|
make the description simple
|
2022-04-25 02:35:34 +08:00 |
|
 LaLucidandClément Fournier
|
38d3c091d0
|
Update pmd-java/src/main/resources/category/java/design.xml
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
|
2022-04-25 02:27:26 +08:00 |
|
 LaLucidandClément Fournier
|
28a454d155
|
Update pmd-java/src/main/resources/category/java/design.xml
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
|
2022-04-25 02:25:18 +08:00 |
|
HoshiNoMei
|
996f81ccce
|
Modify the rule to meet the missing case
|
2022-04-24 23:36:46 +08:00 |
|
Andreas Dangel
|
6b536ba7d0
|
Merge pull request #3912 from oowekyala:pmd7-lambda-wrong-form-bug
[java] Fix IndexOutOfBoundsException with lambda that has wrong shape #3912
|
2022-04-22 08:42:21 +02:00 |
|
Andreas Dangel
|
8f00641bff
|
Merge pull request #3890 from oowekyala:java-grammar-module
[java] Improve module grammar #3890
|
2022-04-22 08:29:16 +02:00 |
|
Andreas Dangel
|
4c61883a92
|
Fix compilation errors
|
2022-04-21 18:50:45 +02:00 |
|
Andreas Dangel
|
5e9402bfe1
|
Merge branch 'master' into pmd/7.0.x
|
2022-04-21 18:42:08 +02:00 |
|
Andreas Dangel
|
9b2a92bc52
|
Merge pull request #3921 from oowekyala:issue3068-mock-rules-for-cli-tests
[java] Make cli tests use dummy rules #3921
|
2022-04-21 16:55:29 +02:00 |
|
Andreas Dangel
|
f27c6453ca
|
[java] ArrayIsStoredDirectly - report assignment rather than formal param
Fixes #3929
|
2022-04-21 15:15:11 +02:00 |
|
Andreas Dangel
|
0d8373d290
|
[java] ArrayIsStoredDirectly - fix field access with this
Fixes #1185
|
2022-04-21 14:48:23 +02:00 |
|
Andreas Dangel
|
5566290821
|
[java] ArrayIsStoredDirectly - ignore method calls
Fixes #1474
|
2022-04-21 14:31:20 +02:00 |
|
Andreas Dangel
|
8d5c2e5683
|
[java] ArrayIsStoredDirectly - fix tree traversal
Fixes #3879
|
2022-04-21 14:12:47 +02:00 |
|
Clément Fournier
|
9513c505fb
|
checkstyle
|
2022-04-19 00:30:20 -06:00 |
|
Clément Fournier
|
6f12ed1322
|
Stop ignoring name "IDENT"
|
2022-04-19 00:30:20 -06:00 |
|
Seth Wilcox
|
aab240bc2d
|
Allow the ignored fieldnames in the Unused Private Field check to be configurable. The current hardcoded defaults handle the fields needed for java serialization, but this isn't documented, and having this be configurable, as well as explicitly documented can be helpful. For example, our default new file template always creates a logger for every file, and I would prefer to have the logger there unused for future use, rather than having to pull it when not used
|
2022-04-19 00:30:20 -06:00 |
|
Clément Fournier
|
cdf4944865
|
Checkstyle
|
2022-04-15 20:05:04 +02:00 |
|
Clément Fournier
|
c778266294
|
Update java/CLITest
|
2022-04-15 19:41:39 +02:00 |
|
Clément Fournier
|
359225ca37
|
Update ExcludeLinesTest
|
2022-04-15 19:34:55 +02:00 |
|
Clément Fournier
|
715442b66b
|
Update java/PMDTaskTest to use mocked rules
|
2022-04-15 19:31:56 +02:00 |
|
Clément Fournier
|
abad806344
|
Fix tree dump tests
|
2022-04-15 13:26:14 +02:00 |
|
Clément Fournier
|
6d152b1552
|
Fix IndexOutOfBoundsException with lambda that has wrong shape
|
2022-04-14 21:23:21 +02:00 |
|
Clément Fournier
|
35d5eca1ca
|
Fix tests
|
2022-04-14 20:09:24 +02:00 |
|
Clément Fournier
|
0970b718ce
|
Merge branch '7.0.x' into java-grammar-module
|
2022-04-14 19:57:41 +02:00 |
|
Clément Fournier
|
8b67ab93a7
|
Rename getters
|
2022-04-14 19:57:16 +02:00 |
|
Clément Fournier
|
1b54b35441
|
Remove DirectiveType enum
|
2022-04-14 19:52:42 +02:00 |
|
 Clément FournierandAndreas Dangel
|
7bf44c69ac
|
Replace package name with class name
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
|
2022-04-14 19:49:48 +02:00 |
|
Andreas Dangel
|
7cf97d6afc
|
Merge pull request #3891 from oowekyala:force-type-resolution
[java] Make type resolution not lazy #3891
|
2022-04-13 10:19:03 +02:00 |
|
Andreas Dangel
|
c1dad89317
|
Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTMethodDeclaration.java
|
2022-04-13 09:33:50 +02:00 |
|
Andreas Dangel
|
b8b7c12d1c
|
Merge branch 'pmd/7.0.x' into pr-3891
|
2022-04-13 09:27:34 +02:00 |
|
Clément Fournier
|
b6ac0aadee
|
Remove deprecated nodes
|
2022-04-09 16:16:43 +02:00 |
|
Clément Fournier
|
32a02cecaa
|
Add some log statements
|
2022-04-09 14:57:54 +02:00 |
|
Andreas Dangel
|
ddb0ecfceb
|
[java] Fix UseArraysAsList with method calls
- Fixes #3867
|
2022-04-08 15:30:25 +02:00 |
|
Clément Fournier
|
24fe7053ef
|
Fix type inference tests
|
2022-04-03 15:50:58 +02:00 |
|
Clément Fournier
|
31a341d9ad
|
[java] force type resolution phase
|
2022-04-01 21:19:04 +02:00 |
|
Clément Fournier
|
b7c3e47591
|
Add tests for module directives
|
2022-04-01 21:15:50 +02:00 |
|
Andreas Dangel
|
674353c716
|
[java] Catch LinkageError in UselessOverridingMethodRule
Might occur when the auxclasspath is incomplete
|
2022-04-01 19:19:44 +02:00 |
|
Clément Fournier
|
bc19d2cc40
|
[java] Improve module grammar
Type names in "provides" directives are disambiguated
like any other type name.
ASTName is made redundant and removed for good.
|
2022-04-01 19:06:33 +02:00 |
|
Andreas Dangel
|
9d816d28b9
|
Merge pull request #3842 from oowekyala:java-ast-utils
[java] Move things from JavaRuleUtil to JavaAstUtils #3842
|
2022-04-01 10:28:40 +02:00 |
|
Andreas Dangel
|
6bf7996851
|
Merge branch 'master' into pmd/7.0.x
|
2022-03-27 16:33:07 +02:00 |
|