dependabot[bot]
49cfe186ae
Bump org.pcollections:pcollections from 3.2.0 to 4.0.2
...
Bumps [org.pcollections:pcollections](https://github.com/hrldcpr/pcollections ) from 3.2.0 to 4.0.2.
- [Changelog](https://github.com/hrldcpr/pcollections/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hrldcpr/pcollections/compare/v3.2.0...v4.0.2 )
---
updated-dependencies:
- dependency-name: org.pcollections:pcollections
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 03:18:42 +00:00
Andreas Dangel
21d499d5ef
[doc] Release Notes for Java 23 Support ( #5062 )
...
Also add some @since tags to new API methods
2024-08-01 11:53:04 +02:00
Andreas Dangel
17a4a487a6
[java] CommentRequired - add test for markdown comments
2024-08-01 11:53:04 +02:00
Andreas Dangel
c53462b3b6
Improve RuleTst performance
...
Reuse the classloader for auxclasspath
instead of creating a new one for every
single rule test case.
2024-08-01 11:46:45 +02:00
Andreas Dangel
d171bcbdb3
[java] Default Imports for simple compilation unit
...
Import by default module java.base
and java.io.IO.*
2024-08-01 11:46:45 +02:00
Andreas Dangel
cbc475ede3
[java] Add ImplicitClassDeclaration
...
JEP 477: Implicitly Declared Classes and Instance Main Methods
(Third Preview)
2024-08-01 11:46:41 +02:00
Andreas Dangel
55d57acc63
[java] Remove String Template Preview feature for Java 23
2024-08-01 11:44:46 +02:00
Andreas Dangel
0823c88cba
[java] Support primitive types in instanceof (Java 23 Preview)
...
Allow to use primitive types in patterns, instanceof, and
switch. This is a Java 23 Preview feature.
See JEP 455.
2024-08-01 11:44:45 +02:00
Andreas Dangel
47470b5d0c
[java] Support module import declarations (JEP 476)
...
- new JModuleSymbol
- UnnecessaryImportRule also supports module imports
- module-info.class can be loaded by ClasspathClassLoader
- Support annotations on modules
- Verify that exported packages are loaded
2024-08-01 11:44:37 +02:00
Andreas Dangel
176e522721
[java] UnnecessaryImportRule: Support Markdown comments
2024-08-01 10:28:31 +02:00
Andreas Dangel
7a6662fcda
[java] Support "Markdown documentation comments" (JEP 467)
2024-08-01 10:28:31 +02:00
Andreas Dangel
bb40b754a2
[java] Update impl for "Flexible Constructor Bodies"
2024-08-01 10:28:30 +02:00
Andreas Dangel
20750f9591
[java] Update implementation for "Implicitly Declared Classes...
...
... and Instance Main Methods" (JEP 477)
- language feature is renamed
- update symbol table resolver
2024-08-01 10:28:30 +02:00
Andreas Dangel
a7eab294b4
[java] Make UNNAMED_VARIABLES_AND_PATTERNS a regular language feature
...
This is now possible, since java 21 preview is gone.
2024-08-01 10:28:30 +02:00
Andreas Dangel
10681cd6a8
[java] Remove version 21-preview
2024-08-01 10:28:29 +02:00
Andreas Dangel
f13e886757
[java] Allow to build PMD with Java 23
2024-08-01 10:28:29 +02:00
Andreas Dangel
2a04d9858a
[java] Bump asm from 9.6 to 9.7
2024-08-01 10:15:09 +02:00
Andreas Dangel
568314bb89
[java] Add new language version 23 and 23-preview
2024-08-01 10:15:09 +02:00
Juan Martín Sotuyo Dodero
10add3f0f7
Merge pull request #5148 from pmd/dependabot/maven/org.apache.commons-commons-text-1.12.0
...
Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0
2024-07-29 09:08:18 -03:00
dependabot[bot]
65b6d5e796
Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0
...
Bumps org.apache.commons:commons-text from 1.11.0 to 1.12.0.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 03:54:56 +00:00
Juan Martín Sotuyo Dodero
9ea10ecbe3
Merge pull request #5146 from adangel/issue-5139-apex-operationwithhighcostinloop
...
[apex] Fix parsing of triggers with declarations
2024-07-27 16:25:03 -03:00
Andreas Dangel
3735fd145b
[apex] Fix parsing of triggers with declarations
...
Only the grandchildren of a trigger block were ending up in the tree,
but the direct children of triggerBlock were missing, e.g.
ForLoopStatement. This caused OperationWithHighCostInLoop to not
find the loop anymore in triggers.
This will probably fix other false negatives in triggers in
other rules as well.
Fixes #5139
2024-07-27 20:17:25 +02:00
dependabot[bot]
d2fbe14afa
Bump org.codehaus.mojo:versions-maven-plugin from 2.16.2 to 2.17.1 ( #5144 )
...
Bumps [org.codehaus.mojo:versions-maven-plugin](https://github.com/mojohaus/versions ) from 2.16.2 to 2.17.1.
- [Release notes](https://github.com/mojohaus/versions/releases )
- [Changelog](https://github.com/mojohaus/versions/blob/master/ReleaseNotes.md )
- [Commits](https://github.com/mojohaus/versions/compare/2.16.2...2.17.1 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:versions-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 18:06:14 +02:00
dependabot[bot]
b7d9eaaa97
Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 ( #5142 )
...
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin ) from 3.12.1 to 3.13.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases )
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.12.1...maven-compiler-plugin-3.13.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 17:46:08 +02:00
dependabot[bot]
dacc8b114b
Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.1 to 3.4.0 ( #5141 )
...
Bumps [org.apache.maven.plugins:maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin ) from 3.3.1 to 3.4.0.
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.3.1...maven-checkstyle-plugin-3.4.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 17:36:58 +02:00
Juan Martín Sotuyo Dodero
98e20a0feb
Merge pull request #5135 from adangel/issue-5132-plsql-tomkytesdespair
...
[plsql] Fix TomKytesDespair for more complex exception handlers
2024-07-26 08:11:15 -03:00
Juan Martín Sotuyo Dodero
590ae705c3
Merge pull request #5100 from adangel/enable-dependabot
...
Enable Dependabot
2024-07-26 08:10:15 -03:00
Juan Martín Sotuyo Dodero
cb7f923c66
Merge pull request #5136 from adangel/deprecate-parser-impl
...
Deprecate generated parser implementations
2024-07-26 08:09:34 -03:00
Juan Martín Sotuyo Dodero
f7b5398a04
Update pmd-javascript/src/main/resources/category/ecmascript/performance.xml
...
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-07-26 08:08:12 -03:00
Andreas Dangel
f1f376d248
Deprecate generated parser implementations
2024-07-26 12:02:31 +02:00
Andreas Dangel
44d25c41e1
[plsql] Fix TomKytesDespair for more complex exception handlers
...
Fixes #5132
2024-07-26 12:01:21 +02:00
Andreas Dangel
dbe5624a9e
[javascript] Simplify AvoidConsoleStatements
...
Now any usage of console is flagged.
2024-07-26 11:55:02 +02:00
Andreas Dangel
8b1da5d651
Add @dschach as a contributor
2024-07-26 11:53:27 +02:00
Andreas Dangel
838705c8da
[javascript] New rule AvoidConsoleStatements
...
Fixes #5105
2024-07-26 11:51:44 +02:00
Andreas Dangel
210e3e59ae
Enable dependabot
...
- dependabot runs weekly
- github-action and bundler are creating
a single PR for updating
- also integrate automatic release notes
generation
2024-07-26 11:48:20 +02:00
Andreas Dangel
39750cf158
Use PMD 7.4.0 for checks
2024-07-26 11:08:05 +02:00
Andreas Dangel
ee800d326f
[release] Prepare next development version [skip ci]
2024-07-26 10:11:46 +02:00
Andreas Dangel
db5fa2dbce
[release] prepare release pmd_releases/7.4.0
pmd_releases/7.4.0
2024-07-26 09:03:38 +02:00
Andreas Dangel
5992a2d53f
Prepare pmd release 7.4.0
2024-07-26 08:43:05 +02:00
Arjen Duursma
aea5db9b50
Make parsing more flexible and avoid breaking API change build error.
2024-07-25 22:27:50 +02:00
Juan Martín Sotuyo Dodero
727279977d
Merge pull request #5134 from adangel/issue-5133-plsql-parse-error
...
[plsql] Fix ScalarDataTypeName and CollectionTypeName parsing
2024-07-25 14:36:16 -03:00
Juan Martín Sotuyo Dodero
3ffb3ec210
Merge pull request #5137 from adangel/issue-5106-AccessorClassGeneration
...
[java] AccessorClassGeneration - handle default ctors
2024-07-25 12:49:27 -03:00
Andreas Dangel
c194d3ed0d
Add @rbri as a contributor
2024-07-25 13:06:14 +02:00
Andreas Dangel
41393d4637
[java] AccessorClassGeneration - handle default ctors
...
Fixes #5106
2024-07-25 13:05:47 +02:00
Andreas Dangel
6a242f019d
[plsql] Fix CollectionTypeName parsing
2024-07-25 11:42:22 +02:00
Andreas Dangel
87b0c4f851
[plsql] Fix ScalarDataTypeName parsing
...
Fixes #5133
2024-07-25 11:17:49 +02:00
Andreas Dangel
5d39923c2f
[core] Don't log warning about skipLexicalErrors twice ( #5102 )
...
Merge pull request #5102 from adangel:issue-5091-skipLexicalErrors
2024-07-25 10:28:22 +02:00
Andreas Dangel
a3f9d4af59
[java] Simplify UnusedPrivateMethodRule
...
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2024-07-25 09:57:20 +02:00
Andreas Dangel
1464cbca38
[java] Fix UnusedPrivateMethod for @lombok.Builder.ObtainVia ( #5111 )
...
Merge pull request #5111 from kdebski85:issue-5110-lombok-obtain-via
2024-07-23 20:11:23 +02:00
Andreas Dangel
597f3f37dc
[doc] Update release notes ( #5110 , #5111 )
2024-07-23 20:09:50 +02:00