Przemysław Cimcioch
Przemysław Cimcioch
Following code is safe in terms of casting, but spotbugs reports `BC_UNCONFIRMED_CAST_OF_RETURN_VALUE` ``` package test; class Parent {} class Child extends Parent {} class Factory { private final Class type;...
# Context I created this issue as a bug report or enhancement proposal - depending on how would you classify current behaviour. I have a spring application that I am...
I can write the following method in Java: ``` enum Direction {LEFT, RIGHT} void displayDirection(Direction direction) { switch(direction) { case LEFT -> System.out.println("Turn Left"); case RIGHT -> System.out.println("Turn Right"); }...
Right now it's not possible to add static field to the Record
Library could support compact constructors in java records: ``` record Foo(String name, int x, int y) { Foo { Objects.requireNonNull(name); } } ``` Currently, as a workaround you can ovveride...
`slf4j-simple` is logging implementation and it shouldn't be forced as library's transient, non-optional dependency. Adding `slf4j-simple` was quite disruptive, as it basically breaks applications that include this library but use...
Hi! In `cache2k-micrometer` there is a class named `Cache2kCacheMetrics`. It has a method called `hitCount` that can, in some rare cases, return negative value. Values returned by this method are...
Hi! Currently, the java version uses protobuf `3.13.0`. Currently, the newest version is `4.28.1`. There was a breaking change in java implementation using protobuf `v26`. Would it be possible to...