Commit Graph

8565 Commits

Author SHA1 Message Date
Clément Fournier
967c16561a Refactor how string templates are parsed
Fix #4947
2024-04-12 18:02:20 +02:00
Clément Fournier
64eeeec000 Add test for #4947 2024-04-12 16:34:23 +02:00
Andreas Dangel
62f215929c [core] Disable Caching in URLConnection for ClasspathClassLoader
Fixes #4899
2024-04-11 14:52:30 +02:00
Andreas Dangel
32b70b1d89 [doc] Fix rule reference 2024-04-11 14:48:17 +02:00
Juan Martín Sotuyo Dodero
0ce6928b53 Properly handle null literals 2024-04-07 03:26:20 -03:00
Juan Martín Sotuyo Dodero
f7fc9f6f0a Add test case for null literals 2024-04-07 03:26:20 -03:00
Juan Martín Sotuyo Dodero
4a9627c5bb Fix #2440
- Extend FinalFieldCouldBeStatic to consider all compile-time constants
   and not only single literals.
2024-04-07 02:32:00 -03:00
Juan Martín Sotuyo Dodero
8b18e9524b Add failing test for #2440 2024-04-07 02:31:43 -03:00
Juan Martín Sotuyo Dodero
d4b99bb047 Merge branch 'pr-4937' 2024-04-07 01:52:03 -03:00
Juan Martín Sotuyo Dodero
9b4054ed8d Merge pull request #4933 from oowekyala/issue4902-bad-intersection
[java] Fix problem with type inference with enums sharing a common interface
2024-04-07 01:48:17 -03:00
Clément Fournier
2a12cb1ef7 Fix rule ref 2024-04-06 17:00:27 +02:00
Clément Fournier
78c43ed87a [java] Fix #4779 - Improve doc of MethodArgumentCanBeFinal 2024-04-06 16:58:52 +02:00
Andreas Dangel
aaed4fb90a [java] Add test case for #1780 2024-04-06 12:00:38 +02:00
Clément Fournier
32e5646903 Merge branch 'master' into issue4912-java-grammar-fix 2024-04-05 16:35:28 +02:00
Clément Fournier
e636c206f0 Doc 2024-04-05 16:35:09 +02:00
Clément Fournier
87691a0321 Self review 2024-04-05 16:32:27 +02:00
Clément Fournier
4a25afc864 Checkstyle 2024-04-05 16:24:11 +02:00
Clément Fournier
bfe4013883 Add test case for #4902 2024-04-05 16:22:26 +02:00
Clément Fournier
89f7aecab8 Fix mostSpecific 2024-04-05 16:18:08 +02:00
Clément Fournier
6f1f72de1e Doc 2024-04-05 15:59:12 +02:00
Andreas Dangel
7da809b462 [java] ArrayIsStoredDirectly: Add test case for #1413 2024-04-05 15:58:19 +02:00
Andreas Dangel
9b0c7dc3eb [java] InvalidLogMessageFormat: Add test case for #939 2024-04-05 15:50:34 +02:00
Andreas Dangel
709396d8f3 [java] InvalidLogMessageFormat: Add test case for #253 2024-04-05 15:45:29 +02:00
Clément Fournier
277601f9ec Fix lub and glb of arrays
We still have a problem with associativity of glb being broken.
2024-04-05 13:08:31 +02:00
Clément Fournier
7bd37cd79d Fix TypeOps::mostSpecific in the case of possible unchecked conversion 2024-04-05 12:16:28 +02:00
Clément Fournier
03b8d1acef Fix #4912 - grammar for TWR allows this expression 2024-04-05 10:19:58 +02:00
Juan Martín Sotuyo Dodero
0b74e0e18f Merge branch 'pr-4920' 2024-04-04 23:25:57 -03:00
Juan Martín Sotuyo Dodero
2a5a52b4ee Merge pull request #4925 from oowekyala/typeres-explicitly-typed-lambdas
[java] Support explicitly typed lambdas
2024-04-04 23:18:16 -03:00
Juan Martín Sotuyo Dodero
1845400734 Merge branch 'master' into issue-4928-emptycatchblock 2024-04-04 18:12:31 -03:00
Juan Martín Sotuyo Dodero
0f45215817 Merge pull request #4926 from adangel/japicmp
[core] Add japicmp
2024-04-04 15:51:34 -03:00
Juan Martín Sotuyo Dodero
7828451dbb Merge pull request #4927 from oowekyala/fix-pretty-printing
[java] More pretty printing fixes
2024-04-04 15:04:25 -03:00
Andreas Dangel
f87f24ef90 Merge pull request #4906 from Monits:fix-2056
[java] CloseResource should treat parameters as external even if casted when assigned to a local variable #4906
2024-04-04 17:38:51 +02:00
Andreas Dangel
07398ac557 [java] Fix EmptyCatchBlock with allowCommentedBlock
Fixes #4928
2024-04-04 17:27:49 +02:00
Clément Fournier
8ed4d13a6d checkstyle 2024-04-04 17:17:34 +02:00
Clément Fournier
3bcfa92c8b checkstyle 2024-04-04 17:16:02 +02:00
Clément Fournier
bcb6859014 Merge branch 'master' into new-rule-lambdacanbemethodref 2024-04-04 16:49:19 +02:00
Clément Fournier
6c9aa9d0ea Merge branch 'master' into fix-pretty-printing 2024-04-04 16:47:01 +02:00
Clément Fournier
5ffee032d8 Merge branch 'master' into fix-pretty-printing 2024-04-04 16:45:24 +02:00
Clément Fournier
1914871c3c Remove unnecessary parens, support unary exprs 2024-04-04 16:43:49 +02:00
Andreas Dangel
2c2a384c7d Merge branch 'master' into japicmp 2024-04-04 16:43:29 +02:00
Clément Fournier
45173880a5 Add pretty printing for infix 2024-04-04 16:38:07 +02:00
Andreas Dangel
97bd272fef Fix unused import 2024-04-04 16:36:53 +02:00
Clément Fournier
6e0aafbf44 Add pretty printing for lambdas 2024-04-04 16:29:28 +02:00
Andreas Dangel
e47eb352d5 [java] Restore compatibility of SingularFieldRule 2024-04-04 15:52:13 +02:00
Juan Martín Sotuyo Dodero
3180a283cc Merge pull request #4921 from oowekyala/fix-pretty-printing
[java] Fix pretty printing for some exprs
2024-04-04 10:33:30 -03:00
Juan Martín Sotuyo Dodero
eaec0dad28 Merge pull request #4923 from adangel/fix-checkstyle-config
Fix checkstyle config and checkstyle issues
2024-04-04 10:27:23 -03:00
Andreas Dangel
4fe50978b6 Add japicmp - breaks build based on semantic versioning 2024-04-04 15:20:15 +02:00
Clément Fournier
100e5c7ba2 Support explicitly typed lambdas 2024-04-04 14:54:43 +02:00
Andreas Dangel
280b1a1ee3 Bump next version to be 7.1.0-SNAPSHOT 2024-04-04 10:49:18 +02:00
Andreas Dangel
d88a3c50fe Fix checkstyle config and checkstyle issues 2024-04-04 10:46:05 +02:00