8114 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
a26717533c Add test case for #4277 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
6be72b2795 Add test case for #3802 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
e7ec34ee65 Add test case for #3627 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
07850f3423 Add test case for #3467 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
5a614bcfb5 Add test case for #1081 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
d0f8383c3e Add test case for #935 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
37d352b3c1 Add test case for #1316 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
c084e54c58 Add test case for #3430 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
e2eda6cec7 Add test case for #2710 2024-03-18 00:27:43 -03:00
Juan Martín Sotuyo Dodero
033f556006 Add test case for #3626 2024-03-18 00:27:43 -03:00
Andreas Dangel
274497bbf4 [doc] Fix more external links 2024-03-14 16:53:48 +01:00
Juan Martín Sotuyo Dodero
e7ee97a3e5 Merge branch 'master' into issue-4757-npe 2024-03-10 22:52:15 -03:00
Andreas Dangel
ec0bfd1c4c Fix more javadoc errors
These worked with Java 21, but not with Java 11.
2024-03-08 08:53:02 +01:00
Andreas Dangel
2585068f2c [java] Fix javadoc errors 2024-03-07 20:30:07 +01:00
Andreas Dangel
b2ed833b66 Bump commons-logging from 1.2 to 1.3.0 2024-03-07 11:41:40 +01:00
Andreas Dangel
e76d2a021c [java] Fix JUnitTestsShouldIncludeAssert after assertj upgrade 2024-03-07 11:41:40 +01:00
Andreas Dangel
6323dfb15f Bump assertj-core from 3.11.0 to 3.25.3 2024-03-07 11:41:40 +01:00
Andreas Dangel
38d6927589 Bump log4j from 2.17.1 to 2.23.0 2024-03-07 11:41:39 +01:00
Andreas Dangel
abae565fd4 Bump junit4 from 4.13.1 to 4.13.2 2024-03-07 11:41:37 +01:00
Andreas Dangel
dffc44ecde Merge branch 'master' into cleanup-todos 2024-03-05 18:53:49 +01:00
Andreas Dangel
b64489a515 Merge branch 'master' into issue-4830-consolidate-packages 2024-03-04 19:21:16 +01:00
Andreas Dangel
6593a902d0 [java] Fix AstTreeDumpTests after merge
MethodDeclaration doesn't have @Image attribute anymore.
2024-03-04 18:50:11 +01:00
Andreas Dangel
93bf4d59cd Merge branch 'master' into issue-4794-java-22 2024-03-04 18:28:35 +01:00
Juan Martín Sotuyo Dodero
82db75bedf Merge pull request #4801 from adangel/issue-932-SingletonClassReturningNewInstance
[java] SingletonClassReturningNewInstance - fix double assignment case
2024-03-03 16:32:50 -05:00
Andreas Dangel
cc3da7b21e Fix kotlin compiler warnings 2024-03-01 16:55:01 +01:00
Andreas Dangel
ab0d740d81 Cleanup some TODOs 2024-03-01 12:07:48 +01:00
Juan Martín Sotuyo Dodero
08b16d9555 Merge pull request #4836 from adangel/remove-deprecated-rule-props
Remove deprecated rule props
2024-02-29 09:00:16 -05:00
Juan Martín Sotuyo Dodero
35c34785a0 Merge pull request #4840 from adangel/issue-4816-UnnecessaryImport
[java] UnnecessaryImport - keep analyzing with failed overload selection
2024-02-29 08:44:07 -05:00
Andreas Dangel
ef18609309 [java] UnnecessaryImport - keep analyzing with failed overload selection
Fixes #4816
2024-02-29 13:33:04 +01:00
Andreas Dangel
f0cbbddcfc [java] UnusedAssignment false positive in record compact constructor
Fixes #4603
2024-02-29 10:06:27 +01:00
Andreas Dangel
87f2241f3a [java] Verify UnnecessaryLocalBeforeReturn #4239
Fixes #4239
2024-02-29 08:51:13 +01:00
Andreas Dangel
ce8ca0652d [java] Verify UnusedPrivateMethod #4625
Fixes #4625
2024-02-29 08:40:22 +01:00
Andreas Dangel
2b70986f09 [java] Verify UnnecessaryFullyQualifiedName #4631
Fixes #4631
2024-02-29 08:37:01 +01:00
Andreas Dangel
f5d3c737f9 [java] NonSerializableClass: Remove property prefix
This property has been deprecated since PMD 6.52.0
2024-02-26 19:58:34 +01:00
Andreas Dangel
504fc3e967 [java] CommentRequired: Remove property headerCommentRequirement
This property has been deprecated since PMD 6.21.0
2024-02-26 19:58:19 +01:00
Andreas Dangel
6b454deb43 [java] Improve logging in ParseLock in case of failure 2024-02-25 16:40:25 +01:00
Andreas Dangel
a8c41a5096 [java] Fix intermittent NPE ClassSub.enclosingInfo is null
Refs #4757
2024-02-24 21:09:57 +01:00
Andreas Dangel
f49f25f0e1 Rename lang-terse-name to lang-id 2024-02-23 17:46:39 +01:00
Andreas Dangel
a00916b4f0 [java] Consolidate test packages 2024-02-23 17:46:30 +01:00
Andreas Dangel
845154716c [test] Consolidate packages, move PmdRuleTst, SimpleAggregatorTst 2024-02-23 17:46:29 +01:00
Andreas Dangel
3a7460de29 [lang-test] Move classes into n.s.p.lang.test 2024-02-23 17:46:23 +01:00
Andreas Dangel
7069e6146c Simplify kotlin compiler configuration 2024-02-23 10:50:58 +01:00
Andreas Dangel
9e71e36ab1 Merge pull request #4811 from adangel:issue-4349-cleanup-deprecations
Cleanup remaining experimental and deprecated API #4811
2024-02-22 17:08:51 +01:00
Andreas Dangel
609e364861 Merge pull request #4809 from adangel:issue-4348-internal-api
[core] Consolidate @InternalApi classes #4809
2024-02-22 17:03:03 +01:00
Andreas Dangel
2a1aaa6bce [java] Fix tests with ExplicitConstructorInvocations 2024-02-15 15:07:50 +01:00
Andreas Dangel
bfe9ce66e2 [java] JEP 447: Statements before super(...) (Preview) (Java 22) 2024-02-15 13:20:46 +01:00
Andreas Dangel
4e01a3dafb [java] JEP 456: Unnamed Variables & Patterns
This is now standardized.
2024-02-15 12:12:12 +01:00
Andreas Dangel
cb3ceef17a [java] Update Tests for JEP 463: Implicitly Declared Classes and Instance Main Methods 2024-02-15 11:26:12 +01:00
Andreas Dangel
fbb9da24f2 [java] Update Tests for JEP 459 String Templates
TemplateFragment now has an attribute "content".
2024-02-15 11:16:24 +01:00
Andreas Dangel
96bc9ef6c6 [java] Update LanguageLevelChecker#RegularLanguageFeature
- after 20-preview is gone
- Note: DECONSTRUCTION_PATTERNS_IN_ENHANCED_FOR_STATEMENT is completely
  gone. This was only available for 20-preview and has been removed
  with 21.
2024-02-15 10:30:55 +01:00