28436 Commits

Author SHA1 Message Date
Andreas Dangel
bb08255aab [plsql] Fixed issue with missing optional table alias in MERGE usage (#5121)
Merge pull request #5121 from duursma:merge-fix
2024-07-19 16:23:36 +02:00
Andreas Dangel
f689822d19 [doc] Update release notes (#5121)
Refs #5086
2024-07-19 16:22:30 +02:00
Andreas Dangel
5fce65dbe1 [javascript] Rename rule InaccurateNumericLiteral
Fixes #2367
2024-07-19 15:54:28 +02:00
Andreas Dangel
01755015b7 Merge remote-tracking branch 'origin/master' 2024-07-19 15:17:39 +02:00
Juan Martín Sotuyo Dodero
edab792478 Merge pull request #5124 from adangel/issue-4716-js-inaccuratenumber
[javascript] Correctly determine double inaccuracy
2024-07-19 10:14:40 -03:00
Andreas Dangel
ba6f55073c Bump maven-pmd-plugin from 3.23.0 to 3.24.0 2024-07-19 14:49:53 +02:00
Andreas Dangel
4d2034ef0f [java] FP for UnusedPrivateMethod with Jakarta @PostConstruct/PreDestroy annotations (#5118)
Merge pull request #5118 from kdebski85:issue-5117-unused-private-method-jakarta
2024-07-19 14:48:03 +02:00
Andreas Dangel
f128bd7162 [doc] Update release notes (#5118, #5117) 2024-07-19 14:46:11 +02:00
Andreas Dangel
98710abade [java] Exclude constructor with lombok.Builder for MissingStaticMethodInNonInstantiatableClass (#5109)
Merge pull request #5109 from kdebski85:issue-5108-lombok-builder
2024-07-19 14:40:50 +02:00
Andreas Dangel
8462c75077 [doc] Update release notes (#5109, #1488) 2024-07-19 14:39:17 +02:00
Andreas Dangel
abe6a5fe4b Add @tomasvts as a contributor 2024-07-19 14:05:39 +02:00
Andreas Dangel
b176ca72c1 [javascript] Correctly determine double inaccuracy
Fixes #4716
2024-07-19 14:05:32 +02:00
Juan Martín Sotuyo Dodero
18c1ffc165 Merge pull request #5123 from adangel/bump-rhino-1.7.15
[javascript] Bump rhino from 1.7.14 to 1.7.15
2024-07-19 08:05:12 -03:00
Juan Martín Sotuyo Dodero
f28a3e6922 Merge pull request #5122 from adangel/issue-5120-cli-designer
[cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME
2024-07-19 08:00:51 -03:00
Andreas Dangel
533979d60e [javascript] Bump rhino from 1.7.14 to 1.7.15 2024-07-19 11:31:34 +02:00
Andreas Dangel
8c7a5d0664 [cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME
Fixes #5120
2024-07-19 10:17:27 +02:00
Arjen Duursma
0d6bb74756 Redo fix for merge without alias in table specification 2024-07-18 18:53:25 +02:00
Andreas Dangel
14238ee93e [doc] Fix release notes 2024-07-18 16:00:48 +02:00
Andreas Dangel
404a2ea77f [doc] Fix release notes 2024-07-18 12:37:32 +02:00
Andreas Dangel
d21d8a6286 Fix tests after merge 2024-07-18 12:17:05 +02:00
Andreas Dangel
669f883a99 [apex] Consider VariableDeclarationGroup in ApexTreeBuilder (#5099)
Merge pull request #5099 from adangel:apex-issue-5094
2024-07-18 12:10:21 +02:00
Andreas Dangel
6e8ce46f6c [apex] AvoidNonRestrictiveQueries: use new AnnotationParameter.hasName 2024-07-18 12:07:37 +02:00
Andreas Dangel
090bd1208b [apex] ApexUnitTestShouldNotUseSeeAllDataTrue: case-insensitive check (#5098)
Merge pull request #5098 from adangel:apex-issue-5095
2024-07-18 12:06:20 +02:00
Andreas Dangel
cf4df4bf13 [apex] New Rule: AvoidNonRestrictiveQueries (#5089)
Merge pull request #5089 from adangel:apex-issue-635-avoid-non-restrictive-queries
2024-07-18 12:02:21 +02:00
Andreas Dangel
ec92b39cf4 [apex] AvoidNonRestrictiveQueries fix FP with multiline queries 2024-07-18 11:47:31 +02:00
Andreas Dangel
2bfde98a53 [apex] Added Inner Classes to Apex Class Naming Conventions Rule (#5048)
Merge pull request #5048 from sgnl-labs:discreet-inner-class-name-check
2024-07-18 11:38:24 +02:00
Andreas Dangel
4ec05d0aa4 [doc] Update release notes (#5048, #4800) 2024-07-18 11:29:41 +02:00
Andreas Dangel
96b1e890e1 Add @justinstroudbah as a contributor 2024-07-18 11:26:06 +02:00
Andreas Dangel
bd4d8970b6 Fix tests after merge 2024-07-18 10:43:46 +02:00
Andreas Dangel
83d6a264f1 Merge branch 'master' into pr-5048 2024-07-18 10:29:42 +02:00
Andreas Dangel
f6cb537238 [apex] Add ASTUserClassOrInterface.isNested() 2024-07-18 10:14:43 +02:00
Andreas Dangel
909603d7e0 [apex] ClassNamingConventions - Improve tests for inner interfaces
Refs #5048
2024-07-18 10:04:03 +02:00
Andreas Dangel
7023ea3d27 Fix checkstyle 2024-07-18 10:03:13 +02:00
Krzysztof Debski
cb1d1963a4 [java] Ignore unused private methods referenced by any field annotation attribute 2024-07-17 10:18:31 +02:00
Krzysztof Debski
9d0719201d [java] Do not report UnusedPrivateMethod for method annotated with @jakarta.annotation.PostConstruct/PreDestroy 2024-07-15 16:31:58 +02:00
sgnl-labs
f0a5930a40 Update pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/codestyle/ClassNamingConventionsRule.java
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-07-13 05:37:01 -07:00
sgnl-labs
5f669fca31 Update pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-07-13 05:36:44 -07:00
sgnl-labs
1be5242c8c Update pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-07-13 05:36:35 -07:00
sgnl-labs
2da3ac2cc8 Update pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/codestyle/ClassNamingConventionsRule.java
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-07-13 05:36:28 -07:00
Andreas Dangel
fb6638c40d [doc] Update release notes (#635)
Fixes #635
2024-07-12 09:44:25 +02:00
Andreas Dangel
3ba3eb4245 [apex] AvoidNonRestrictiveQueriesRule - support SOSL 2024-07-12 09:44:11 +02:00
Andreas Dangel
ccb0e2e228 [apex] AvoidNonRestrictiveQueriesRule - reuse SEE_ALL_DATA
This is already defined in ASTAnnotationParameter
2024-07-12 09:36:45 +02:00
Andreas Dangel
4044abca91 [apex] AvoidNonRestrictiveQueries: Support @isTest 2024-07-12 09:36:45 +02:00
Andreas Dangel
99f8bf826b [apex] AvoidNonRestrictiveQueries: ignore sub-queries 2024-07-12 09:36:45 +02:00
Andreas Dangel
41ca259503 [apex] AvoidNonRestrictiveQueries - handle sub-queries separately 2024-07-12 09:36:44 +02:00
Andreas Dangel
abdb57535a [apex] New Rule: AvoidNonRestrictiveQueries
Fixes #635
Refs old PR #663

Co-authored-by: Jan Aertgeerts <2192516+JAertgeerts@users.noreply.github.com>
2024-07-12 09:36:44 +02:00
Krzysztof Debski
45d68cf455 [java] Imports order fix 2024-07-11 17:33:39 +02:00
Krzysztof Debski
3609034bf7 [java] Do not report MissingStaticMethodInNonInstantiatableClass for class with @lombok.Builder 2024-07-11 17:24:38 +02:00
Krzysztof Debski
c053f00fb5 [java] Do not report UnusedPrivateMethod for method referenced by @lombok.Builder.ObtainVia 2024-07-11 17:00:01 +02:00
Krzysztof Debski
3a66d50ac2 [java] Do not report MissingStaticMethodInNonInstantiatableClass for private constructor with @lombok.Builder 2024-07-11 15:30:01 +02:00