Juan Martín Sotuyo Dodero
0282ee3583
Properly handle multiple matches once again
2024-04-17 23:37:12 -03:00
Juan Martín Sotuyo Dodero
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
Clément Fournier
7b553300a1
Fix #4948 - abrupt completion of switch statement
2024-04-16 13:36:14 +02:00
Juan Martín Sotuyo Dodero
232c35aed4
Remove commented code
2024-04-12 20:20:18 -03:00
Juan Martín Sotuyo Dodero
2eb62bc691
Unused imports
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
8c6401ae37
Add missing @Override
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
3571876519
Don't extend useless class
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
2cf36cb2cc
Update tests
...
- The rewritten XPaths are slightly different, although equivalent
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
322ac4b8d4
Accomodate for UnicodeString
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
b0d3f13367
Also handle UncheckedXPathException
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
d93c653ad9
Fix reverse iteration
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
842c9315a2
Remove unused imports
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
8eaecf184e
Swap for the new version of getAttributeValue
2024-04-12 18:51:02 -03:00
Juan Martín Sotuyo Dodero
a69d565d51
Upgrade to saxon 12.4
2024-04-12 18:50:58 -03:00
Juan Martín Sotuyo Dodero
184fb31f4d
Typos
2024-04-12 12:57:47 -03:00
Juan Martín Sotuyo Dodero
db0df4ed89
Remove empty implementation
2024-04-12 12:56:53 -03:00
Juan Martín Sotuyo Dodero
55688cf300
Upgrade to Saxon 11.6
2024-04-12 12:55:21 -03:00
Andreas Dangel
2bddfd2b45
[core] Add a filter possibility to FileCollector
...
Fixes #4942
2024-04-12 12:44:55 +02:00
Andreas Dangel
62f215929c
[core] Disable Caching in URLConnection for ClasspathClassLoader
...
Fixes #4899
2024-04-11 14:52:30 +02:00
Clément Fournier
835abc80f7
Add back ctor for compatibility
2024-04-09 13:44:07 +02:00
Clément Fournier
41c01356fc
Fix things
2024-04-09 11:35:14 +02:00
Clément Fournier
ab80b2443d
Also add this ability for Antlr lexers, adapt TSQL
2024-04-08 21:36:45 +02:00
Juan Martín Sotuyo Dodero
9e27977244
Checkstyle fixes
2024-04-04 18:41:06 -03:00
Juan Martín Sotuyo Dodero
76b00a95ad
Better document what to throw on an unsupported lang
2024-04-04 18:18:14 -03:00
Clément Fournier
6d35f14f6b
Fix #4893 - throw if language is not supported
2024-04-04 18:18:14 -03:00
Andreas Dangel
4fe50978b6
Add japicmp - breaks build based on semantic versioning
2024-04-04 15:20:15 +02:00
Andreas Dangel
280b1a1ee3
Bump next version to be 7.1.0-SNAPSHOT
2024-04-04 10:49:18 +02:00
Andreas Dangel
e10f622866
Merge branch 'master' into pr-4864
2024-04-04 08:44:27 +02: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
Andreas Dangel
7332d61515
[release] prepare for next development iteration
2024-03-22 09:28:44 +01:00
Andreas Dangel
0541ab8591
Revert "[release] prepare for next development iteration"
...
This reverts commit 27620724dcf48160f9ea91b9a02a6186400a38cd.
2024-03-22 09:01:47 +01:00
Andreas Dangel
27620724dc
[release] prepare for next development iteration
2024-03-22 08:46:33 +01:00
Andreas Dangel
2e91f316f4
Revert "[release] prepare for next development iteration"
...
This reverts commit 0c7c0386363e41cf3d639a46352e2e875be0710a.
2024-03-22 08:44:25 +01:00
Andreas Dangel
0c7c038636
[release] prepare for next development iteration
2024-03-22 08:36:51 +01:00
Andreas Dangel
ccb123f1ff
[release] prepare release pmd_releases/7.0.0
2024-03-22 08:36:44 +01:00
Clément Fournier
eaaed0ecec
Merge branch 'master' into parametrize-assert-methods
2024-03-21 20:14:56 +01:00
Clément Fournier
03407db09e
Use set properties instead
2024-03-21 18:14:55 +01:00
Andreas Dangel
baa7e3d8be
[core] Fix CodeClimateRendererTest for releases
2024-03-21 14:31:12 +01:00
Juan Martín Sotuyo Dodero
4ce5cc824a
Merge branch 'master' into doc-release-notes-7
2024-03-15 13:45:08 -03:00
Andreas Dangel
b79518191d
Merge pull request #4752 from 219sansim:fix_flaky_LatticeRelation
...
[core] Fix flaky LatticeRelationTest #4752
2024-03-15 13:46:21 +01:00
Andreas Dangel
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
Andreas Dangel
d54b8b3e8f
[core] Internalize deprecated default ctor of XPathRule
2024-03-14 12:31:16 +01:00
Andreas Dangel
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
Andreas Dangel
8cc2d291da
[core] Fix unused import
2024-03-09 10:21:16 +01:00
Andreas Dangel
7badd49c05
[core] Fix javadoc errors
2024-03-07 19:53:18 +01:00
Andreas Dangel
ad9e4649c8
Move nice-xml-messages to dependency management
2024-03-07 11:41:38 +01:00
Juan Martín Sotuyo Dodero
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
Andreas Dangel
079a13ec4b
Merge branch 'master' into cli-banner-display
2024-03-05 19:40:48 +01:00
Andreas Dangel
dffc44ecde
Merge branch 'master' into cleanup-todos
2024-03-05 18:53:49 +01:00