Andreas Dangel
932ac33d15
Merge branch 'master' into pr-4397
2023-08-24 09:48:28 +02:00
Andreas Dangel
3984dc2493
[core] Configurations - keep fields private
2023-08-24 09:46:09 +02:00
Andreas Dangel
5200cc9e8a
[cli] Fix javadoc
2023-08-24 09:32:01 +02:00
Andreas Dangel
c6a63da887
[cli] Remove todo about slf4j
2023-08-24 09:28:49 +02:00
Andreas Dangel
67cbb947ef
[cli] Move option "--relativize-paths-with" up to AbstractAnalysisPmdSubcommand
...
It applies to both PMD and CPD
2023-08-24 09:25:29 +02:00
Andreas Dangel
df08d08608
[apex] Remove cpd property CASE_SENSITIVE
2023-08-24 09:10:06 +02:00
Andreas Dangel
9ce9b24f2a
[doc] Mention pmd-languages-deps and module
2023-08-24 09:01:50 +02:00
Andreas Dangel
027fb4b9f4
Merge pull request #4380 from oowekyala:port-properties
...
[core] Update properties framework #4380
2023-08-22 19:55:34 +02:00
Juan Martín Sotuyo Dodero
9aa81016b0
Merge pull request #4643 from adangel/issue-4521-mobile-website
...
[doc] Make side fixed only for big screens
2023-08-22 11:33:24 -03:00
Richard Corfield
4151ca13f2
Fix Checkstyle errors by changing tab indentation to spaces
...
mvnw clean verify - now passes.
2023-08-18 17:53:19 +01:00
Richard Corfield
8f19067535
A neater set instantiation
2023-08-18 17:33:57 +01:00
Richard Corfield
2ab8447654
Remove the tests related to issue 4650
...
This commit will need to be reverted in 4650's branch.
2023-08-18 17:28:06 +01:00
Andreas Dangel
10a50b8677
[ci] Use adjusted m-pmd-p for dogfood
2023-08-17 18:59:07 +02:00
Richard Corfield
bcbaffcf21
Add unit tests for the behavior I hope to see
...
Two of these tests are failing. It doesn't recognise constants.
I guess that it never has recognised constants, and this is another
problem in the code. I don't know whether to try to fix this or consider
it a different problem so I can make smaller pull requests.
2023-08-17 10:59:59 +01:00
Richard Corfield
d85a1a7cfe
Add SObjectType and SObjectField to list of injectable SOQL variable types
2023-08-17 10:07:51 +01:00
Andreas Dangel
a9ed11b7be
[doc] Fix dead links
2023-08-17 10:10:21 +02:00
Andreas Dangel
86fdc446d4
Suppress PMD warnings (UnnecessaryConstructor)
2023-08-17 10:03:12 +02:00
Andreas Dangel
894d9fba84
Merge branch 'master' into pr-4397
2023-08-17 09:31:53 +02:00
Andreas Dangel
24257a0207
[core] revert property collection syntax <seq>
...
Refs #4305
2023-08-15 17:55:09 +02:00
Andreas Dangel
5846666dba
[core] Support min/max as property constraints in RuleSetWriter
...
Refs #1204
2023-08-15 17:47:17 +02:00
Andreas Dangel
5eea2f3e94
[core] Add tests in RuleSetFactoryMessages
...
- moved deprecated delimiter test to messages
- added value as attribute and tag test
2023-08-12 11:51:05 +02:00
Andreas Dangel
79d6e8bc48
[core] NumericConstraints - add tests for above/below
2023-08-12 11:30:20 +02:00
Andreas Dangel
3ea4031d0e
[core] PropertyDescriptor - remove deprecated methods
...
Update tests and usages for valueFrom/asDelimitedString
2023-08-12 11:23:20 +02:00
Andreas Dangel
8681e8d7f9
[ci] Update Dangerfile - fix link to download regression report
...
[skip ci]
2023-08-12 11:12:30 +02:00
Andreas Dangel
ea11fcda54
[core] Minor refactorings
2023-08-12 11:09:43 +02:00
Andreas Dangel
28c017ca8a
[doc] Update release notes (rule properties)
...
#1204 #4301 #4302 #4303
2023-08-12 10:03:13 +02:00
Andreas Dangel
67fac20ac7
[doc] Update doc about (rule) properties
...
Refs #4303
2023-08-12 09:40:22 +02:00
Andreas Dangel
faa2d0ae56
[ci] Stop uploading regression tester record to chunk.io
2023-08-10 17:48:01 +02:00
Andreas Dangel
b73611f013
Merge branch 'master' into pr-4380
2023-08-10 17:37:36 +02:00
Andreas Dangel
f980c1f17b
[doc] Make side fixed only for big screens
...
Also wrap the inline-toc in an accordion to
save some space.
Remove some of the unneeded javascript.
Fixes #4521
2023-08-10 17:30:06 +02:00
Andreas Dangel
a93c8f2b7b
[doc] Add JDK21 to the build for integration testing
...
Note: This is using 21-ea for now
2023-08-10 15:37:35 +02:00
Andreas Dangel
99948c8fb6
[doc] Update release notes (JDK 21 Support)
2023-08-10 15:37:33 +02:00
Andreas Dangel
000f2e86fd
[java] Fix more parsing errors after supporting String Templates
2023-08-10 15:36:30 +02:00
Andreas Dangel
41643dd020
[java] Avoid using Thread.fillInStackTrace() for token context
...
This requires to use the option TOKEN_MANAGER_USES_PARSER
2023-08-10 15:36:30 +02:00
Andreas Dangel
d061883ca6
[java] Fix CPD tests, use latest java version
...
Now the files need to be syntactically valid java sources.
2023-08-10 15:36:30 +02:00
Andreas Dangel
630626ca82
[java] Fix Tokenizer for CPD after supporting String Templates
2023-08-10 15:36:29 +02:00
Andreas Dangel
38a5e827e9
Fix code duplication
2023-08-10 15:36:29 +02:00
Andreas Dangel
f4c86b25ae
[java] Support Unnamed Classes and Instance Main Methods for Java 21 Preview
...
JEP 445
2023-08-10 15:36:29 +02:00
Andreas Dangel
216dd09405
[java] Support Unnamed Patterns and Variables for Java 21 Preview
...
JEP 443
2023-08-10 15:36:28 +02:00
Andreas Dangel
715d58fef3
[java] Support String Templates for Java 21 Preview
...
JEP 430
2023-08-10 15:36:28 +02:00
Andreas Dangel
c2710c9a91
Fix pmd-dist tests
2023-08-10 15:36:28 +02:00
Andreas Dangel
b5d00b7e42
Fix checkstyle
2023-08-10 15:36:27 +02:00
Andreas Dangel
2488107b23
[java] Update impl for record patterns for java 21
...
- renamed ASTComponentPatternList to ASTPatternList
2023-08-10 15:36:27 +02:00
Andreas Dangel
3bdb921548
[java] Update impl for pattern matching for switch for java 21
...
- renamed ASTSwitchGuard to ASTGuard
2023-08-10 15:36:27 +02:00
Andreas Dangel
05d55d0d7a
[java] Update tests for java 21
...
Only Pattern Matching for switch
2023-08-10 15:36:27 +02:00
Andreas Dangel
0ea6336044
[java] Add tests for java 21-preview
...
Copied from 20-preview
2023-08-10 15:36:26 +02:00
Andreas Dangel
9fa7565807
[java] Remove version java 19-preview
2023-08-10 15:36:26 +02:00
Andreas Dangel
0566eedfb4
[java] Bump asm from 9.4 to 9.5
2023-08-10 15:36:26 +02:00
Andreas Dangel
0cd0b40ede
[java] Add new versions 21 and 21-preview
2023-08-10 15:36:25 +02:00
Andreas Dangel
2b0cadf0ed
Bump maven from 3.9.2 to 3.9.4
2023-08-10 13:54:09 +02:00