Hi,
it is possible to configure the hashCode calculation in Lombok?
I want attributes that are not set (null values) not change the hashCode.
For this, I want to set the magic value in the hashCode calculation from 43 to 0, for example
result = (result*PRIME) + (
this.name == null ?
0 : this.name.hashCode());
It is possible to set the value in HandlerUtil to 0?
public static int primeForNull() {
return 43;
}
Kind regards for suggestions
Peter