Commit Graph

8346 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero ae76c8f293 Merge pull request #5021 from oowekyala/issue4885-method-not-accessible
[java] Remove redundant interface declarations in pmd-java
2024-05-16 13:18:19 -03:00
Clément Fournier 4213083554 Remove redundant interface declarations in pmd-java
Related to #4885
2024-05-16 14:20:04 +02:00
Juan Martín Sotuyo Dodero feddca0f4a Remove empty paragraph 2024-05-14 12:04:28 -03:00
Juan Martín Sotuyo Dodero 88b8adbca7 Merge branch 'master' into issue2368 2024-05-14 09:28:38 -03:00
Juan Martín Sotuyo Dodero 3f6184300c Merge branch 'pr-5013' 2024-05-14 09:25:33 -03:00
Clément Fournier 228a1f5017 [java] Fix #2368 - UnsynchronizedStaticFormatter FP in static initializer 2024-05-13 17:25:31 +02:00
Clément Fournier f1701df7f2 Revert previous two commits - pushed by mistake 2024-05-13 17:22:05 +02:00
Clément Fournier a80897fc71 [java] Fix #2326 - UnsynchronizedStaticFormatter FP in static initializer 2024-05-13 17:18:11 +02:00
Clément Fournier 38194a49f7 Fix #4042 - FN with StringBufferInstantiationWithChar 2024-05-13 16:54:08 +02:00
Clément Fournier b6c0a10095 [java] Fix #5006 - bad intersection in capture of recursive types 2024-05-12 15:32:03 +02:00
Clément Fournier e5f55c08a5 Add test case for #1160 2024-05-10 20:30:59 +02:00
Juan Martín Sotuyo Dodero bce7991d2d Merge pull request #4994 from oowekyala/pr-4982-fixes
[java] Fix incompatible class bounds not checked during incorporation #4982  (second PR)
2024-05-09 14:42:17 -03:00
Clément Fournier 3d4f165bbd Add back removed method for compatibility 2024-05-06 12:41:08 +02:00
Clément Fournier a72f851514 Invert booleans 2024-05-06 12:34:38 +02:00
Clément Fournier 788b07ba14 Move methods in order to avoid carrying around the pure parameter which is error-prone 2024-05-06 12:23:11 +02:00
Clément Fournier b2a1ef714f Fix PMD warning 2024-05-06 12:03:38 +02:00
Juan Martín Sotuyo Dodero 722f25ba86 Merge branch 'master' into xpath-seq-attributes 2024-05-02 13:06:03 -03:00
Juan Martín Sotuyo Dodero 18c59b2891 Merge branch 'master' into issue-4980 2024-05-02 10:23:21 -03:00
Clément Fournier b1aaf5d69b Fix conc mod exceptions during incorporation 2024-05-02 10:22:19 -03:00
Andreas Dangel a2139be00b [java] Fix impl of ASTVariableId::isResourceDeclaration / VariableId/@ResourceDeclaration (#4988)
Merge pull request #4988 from oowekyala:java-fix-isResourceDeclaration
2024-05-02 12:44:55 +02:00
Andreas Dangel 435f0dc7b3 [java] Fix #4912 - grammar for TWR allows this expression (#4934)
Merge pull request #4934 from oowekyala:issue4912-java-grammar-fix
2024-05-02 11:39:38 +02:00
Andreas Dangel c476f4c06c Merge branch 'master' into pr-4973 2024-05-02 10:20:28 +02:00
Clément Fournier 3c39aed55e Fix #4985 UnusedPrivateMethod fp 2024-04-30 17:53:03 +02:00
Clément Fournier e327a548a4 Fix impl of ASTVariableId::isResourceDeclaration 2024-04-30 16:27:26 +02:00
Clément Fournier bca5c0ec09 Remove usages of getStableName
Fix #4930
Fix bug with symbol table in concise resources
2024-04-30 15:26:16 +02:00
Clément Fournier 6c0e736001 Update reference files 2024-04-30 14:45:11 +02:00
Clément Fournier dbfabda735 Merge branch 'master' into issue4912-java-grammar-fix 2024-04-30 14:41:44 +02:00
Juan Martín Sotuyo Dodero 6700b47b12 Remove unused code 2024-04-29 16:03:14 -03:00
Clément Fournier 8c708b2193 Check upper bound compatibility during incorporation 2024-04-29 16:00:04 -03:00
Juan Martín Sotuyo Dodero af3346455f Merge branch 'pr-4984' 2024-04-29 13:34:24 -03:00
Clément Fournier 676767c34a Use typeIsExactly for ReplaceVectorWithList 2024-04-29 14:45:08 +02:00
Clément Fournier e2b666210b [java] Fix #4852 - TypeTestUtil.isA considers intersection type subtype of everything 2024-04-29 14:40:44 +02:00
Clément Fournier b70521874a Fix failing tests 2024-04-28 20:10:22 +02:00
Clément Fournier 9a25d90c76 Put back old implementation in place 2024-04-28 18:23:57 +02:00
Juan Martín Sotuyo Dodero 66606648a2 Merge branch 'master' into xpath-seq-attributes 2024-04-28 17:39:08 +02:00
Juan Martín Sotuyo Dodero 7c3de05fd1 Add test case for #1548 2024-04-28 02:33:19 -03:00
Juan Martín Sotuyo Dodero 42cf1b568d Don't use Throwable 2024-04-28 00:17:44 -03:00
Juan Martín Sotuyo Dodero d2e0826ed8 Improve implementation
- throw an apropriate ResolutionFailedException so we don't loose the
   message
 - handle any exception so we don't couple tightly into the LUB
   implementation
2024-04-27 21:19:57 -03:00
Juan Martín Sotuyo Dodero 6ab54e1afb Make the code actually valid 2024-04-27 20:56:27 -03:00
Juan Martín Sotuyo Dodero 0a7a52f228 Fix issue #4980
- When an applicability test fails (ie: during LUB) we don't want that
   to bubble up and fail the process, simply to discard the candidate
   and move forward. If no matching candidate is found, the inference
   will fail anyway.
2024-04-27 20:50:13 -03:00
Juan Martín Sotuyo Dodero b510f77a79 Add failing test for #4980 2024-04-27 20:48:30 -03:00
Juan Martín Sotuyo Dodero 8756bf2dbd Merge pull request #4976 from adangel/fix-release-script
Fix release scripts
2024-04-28 00:34:28 +02:00
Juan Martín Sotuyo Dodero 002e8f12ff Fix #4278 2024-04-26 16:24:41 -03:00
Juan Martín Sotuyo Dodero 2f88755b48 Add failing test for #4278 2024-04-26 16:24:27 -03:00
Juan Martín Sotuyo Dodero 8b3f54c91f Fix for #4975 2024-04-26 16:00:16 -03:00
Juan Martín Sotuyo Dodero 905bb6518b Add failing test for #4975 2024-04-26 16:00:03 -03:00
Andreas Dangel c67998f64a [java] Update quickstart.xml 2024-04-26 15:43:24 +02:00
Andreas Dangel 339e1d4f43 [release] Prepare next development version [skip ci] 2024-04-26 09:04:20 +02:00
Andreas Dangel 592e80d4a9 [release] prepare release pmd_releases/7.1.0 2024-04-26 08:35:11 +02:00
Andreas Dangel d0870f3aa3 [java] New rule ConfusingArgumentToVarargsMethod (#4971)
Merge pull request #4971 from oowekyala:new-rule-UnnecessaryVarargsArrayCreation
2024-04-25 11:40:35 +02:00