You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...even if tech.ydb.yoj.repository.db logger level is higher than DEBUG, and typically none of the transaction statements ever need to be logged.
You can wreak havoc with a simple entity like this:
@Value@EqualsAndHashCode(doNotUseGetters = true)
publicclassBadToStringEntityimplementsEntity<BadToStringEntity> {
@NonNullIdid;
@NullableDurationtoStringDuration;
@SuppressWarnings("unused")
publicDurationgetToStringDuration() {
// Mwahahahahahah #1: NPE if a nullable field is nullObjects.requireNonNull(toStringDuration, "toStringDuration");
// Mwahahahahahah #2: Delay if a nullable field is not nullUninterruptibles.sleepUninterruptibly(toStringDuration);
returntoStringDuration;
}
publicrecordId(@NonNullStringid) implementsEntity.Id<BadToStringEntity> {
}
}