f9cb7ab992
Ensure CPD matches are nonoverlapping maximals
...
- The old implementation would fail on scenarios where duplicates
exceed the minimum token window. In general, if we have 20 identical
tokens, 1 different, and then the same 20 again, CPD would find the
20 at the beginning match the last 20… but also the 19 at the
beginning match the last 19, the 18 at the beggining… down to the
windows size
2024-04-17 20:10:40 -03:00
62f215929c
[core] Disable Caching in URLConnection for ClasspathClassLoader
...
Fixes #4899
2024-04-11 14:52:30 +02:00
9e27977244
Checkstyle fixes
2024-04-04 18:41:06 -03:00
76b00a95ad
Better document what to throw on an unsupported lang
2024-04-04 18:18:14 -03:00
6d35f14f6b
Fix #4893 - throw if language is not supported
2024-04-04 18:18:14 -03:00
4fe50978b6
Add japicmp - breaks build based on semantic versioning
2024-04-04 15:20:15 +02:00
280b1a1ee3
Bump next version to be 7.1.0-SNAPSHOT
2024-04-04 10:49:18 +02:00
e10f622866
Merge branch 'master' into pr-4864
2024-04-04 08:44:27 +02:00
ede73fa4ce
[core] Improve assertion messages for unreachable code paths
2024-03-29 08:59:37 +01:00
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
7332d61515
[release] prepare for next development iteration
2024-03-22 09:28:44 +01:00
0541ab8591
Revert "[release] prepare for next development iteration"
...
This reverts commit 27620724dc
.
2024-03-22 09:01:47 +01:00
27620724dc
[release] prepare for next development iteration
2024-03-22 08:46:33 +01:00
2e91f316f4
Revert "[release] prepare for next development iteration"
...
This reverts commit 0c7c038636
.
2024-03-22 08:44:25 +01:00
0c7c038636
[release] prepare for next development iteration
2024-03-22 08:36:51 +01:00
ccb123f1ff
[release] prepare release pmd_releases/7.0.0
2024-03-22 08:36:44 +01:00
eaaed0ecec
Merge branch 'master' into parametrize-assert-methods
2024-03-21 20:14:56 +01:00
03407db09e
Use set properties instead
2024-03-21 18:14:55 +01:00
baa7e3d8be
[core] Fix CodeClimateRendererTest for releases
2024-03-21 14:31:12 +01:00
4ce5cc824a
Merge branch 'master' into doc-release-notes-7
2024-03-15 13:45:08 -03:00
b79518191d
Merge pull request #4752 from 219sansim:fix_flaky_LatticeRelation
...
[core] Fix flaky LatticeRelationTest #4752
2024-03-15 13:46:21 +01:00
3237f13d92
Update pmd-core/src/main/java/net/sourceforge/pmd/util/GraphUtil.java
...
Co-authored-by: Clément Fournier <clem.fournier@proton.me >
2024-03-15 13:40:45 +01:00
d54b8b3e8f
[core] Internalize deprecated default ctor of XPathRule
2024-03-14 12:31:16 +01:00
eb631b987d
[doc] Review links in release notes and doc pages
...
- fix javadoc to find Kotlin files
- fix formatting for language info box
- fix tocmaker link generator
2024-03-10 20:21:01 +01:00
8cc2d291da
[core] Fix unused import
2024-03-09 10:21:16 +01:00
7badd49c05
[core] Fix javadoc errors
2024-03-07 19:53:18 +01:00
ad9e4649c8
Move nice-xml-messages to dependency management
2024-03-07 11:41:38 +01:00
daa741c817
Merge pull request #4843 from adangel/cli-banner-display
...
[cli] Display pmd banner, version improvement, logging
2024-03-05 16:57:31 -03:00
079a13ec4b
Merge branch 'master' into cli-banner-display
2024-03-05 19:40:48 +01:00
dffc44ecde
Merge branch 'master' into cleanup-todos
2024-03-05 18:53:49 +01:00
b64489a515
Merge branch 'master' into issue-4830-consolidate-packages
2024-03-04 19:21:16 +01:00
a9baf48c4d
Merge pull request #4851 from adangel/core-nodestream-test
...
[core] NodeStreamBlanketTest - prefilter the test data
2024-03-01 13:36:09 -05:00
dc92c64135
[core] NodeStreamBlanketTest - prefilter the test data
...
in order to avoid many ignored unit tests.
E.g. before this change, we had:
Tests passed: 5,417, ignored: 2,539 of 7,956 tests
meaning about 30% of the tests were ignored.
2024-03-01 17:06:58 +01:00
5e277c8211
[core] Fix NPE in AbstractAnalysisCache in case of processing errors
2024-03-01 14:50:35 +01:00
ab0d740d81
Cleanup some TODOs
2024-03-01 12:07:48 +01:00
aa672e9d0e
[cli] Remove unnecessary logging
2024-02-29 20:49:33 +01:00
80db40b6a2
[core] Include revision and build time in PMDVersion
...
- Using git-commit-id-maven-plugin
- Adding the version via an explicit property file
and resource filtering
- For snapshots, it will be the git commit timestamp
- For release, it will be the release timestamp
2024-02-29 18:42:44 +01:00
b036931995
Fix javadoc/dokka configuration
2024-02-27 19:49:23 +01:00
9d5e229704
[core] Consolidate test packages
...
Fix CpdAnalysisTest
Add test cases of PMDFilelistTest into FileCollectorTest
Moved ZipFileTest as FileCollectorZipTest
Remove unnecessary test resources
2024-02-23 17:46:29 +01:00
845154716c
[test] Consolidate packages, move PmdRuleTst, SimpleAggregatorTst
2024-02-23 17:46:29 +01:00
3a7b570df0
Merge branch 'master' into experimental-apex-parser
2024-02-22 18:38:17 +01:00
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
59537fb15c
Merge branch 'master' into experimental-apex-parser
2024-02-13 20:12:39 +01:00
dbde030d8f
[core] Remove @DeprecatedUntil700
2024-02-10 13:10:53 +01:00
1b4acab7c4
Merge branch 'master' into issue-4349-cleanup-deprecations
2024-02-10 12:36:58 +01:00
5705847594
[core] Consolidate internal api in properties
...
PropertyTypeId - moved to internal
PropertyDescriptor#getTypeId
2024-02-10 11:56:58 +01:00
68d4561544
[core] Consolidate internal api in XPath Attribute
...
Attribute#replacementIfDeprecated
2024-02-10 10:51:19 +01:00
5e92b5907e
[core] Consolidate internal api in FileCollector
...
FileCollector#newCollector
2024-02-10 10:47:07 +01:00
3a635da9c2
[core] Consolidate internal api in PMDConfiguration
...
PMDConfiguration#setAnalysisCache
PMDConfiguration#getAnalysisCache
2024-02-10 10:38:26 +01:00
2cc9ae9d7e
[core] Consolidate internal api in LexException
2024-02-10 10:05:56 +01:00