Stefano Cordio
Stefano Cordio
This passes 🙈 ```kotlin val hat = Item("hat", 12.34) val otherHat = Item("hat", 12.34000000000001) assertThat(hat).usingRecursiveComparison() .withComparatorForType(DoubleComparator(0.0005), (0.0 as Double?)?.javaClass) .isEqualTo(otherHat) ```
> If `Double::class.java` refers to the `double` primitive, what is the proper way in Kotlin to refer to `java.lang.Double`? Today, I learned the proper way from [a tweet](https://x.com/tagir_valeev/status/1846184680652992955) of @amaembo:...
> I am afraid Java does not support "primitive `Comparator`", so `Comparator` must be of `Comparator` type, so it could make sense to auto-box when searching for the comparator. Yes,...
> Change the annotation search algorithm for test classes to check parent classes as well To avoid the breaking change, can this be combined with a new opt-in flag for...
> Each annotation does things like setting up a Spring Boot context, starting Testcontainers, configuring mocks and choosing the correct Spring profiles. As a workaround for similar use cases, I...
It's not just about optionals but any use case having a lambda expression, at least in Java. JUnit 5 [elaborates it better](https://junit.org/junit5/docs/5.8.2/api/org.junit.jupiter.api/org/junit/jupiter/api/Assertions.html#fail(java.lang.String)). Such statements would not be possible if `fail`...
Hi @bekoenig , thanks for reporting it! You're referring to `actual` that doesn't exist, right? A PR would be very welcome!
Hi @bekoenig, today I looked at this issue together with @ky0n, as part of [Hack Commit Push Winterthur](https://winterthur2025.hack-commit-pu.sh/). We reviewed the changes you prepared at 2837e77, and I would like...
Trying out the example at [JDK-8152289](https://bugs.openjdk.java.net/browse/JDK-8152289), I don't see improvements with more recent versions: ``` jdk1.7.0_80.jdk: 0.83s user 0.15s system 50% cpu 1.934 total azul-1.8.0_432: 66.30s user 0.84s system 102%...
After a closer look at the problem, I realized it's `google-java-format` failing, not Spotless. See also google/google-java-format#1247. Sorry for the noise!