Fix #2880 findings (#2887)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2026-01-23 10:15:45 +02:00
committed by GitHub
parent 97762360c3
commit d9e52cb542
5 changed files with 7 additions and 10 deletions

View File

@@ -35,9 +35,7 @@ public class LockedException extends AbstractServerRtException {
public LockedException(
final Class<? extends BaseEntity> type, final Object entityId, final String operation, final String reason) {
super(
THIS_ERROR, type.getSimpleName() + " with given identifier {" + entityId + "} is locked and " + operation + " is forbidden!" +
(reason == null ? "" : " Reason: " + reason)
);
super(THIS_ERROR, type.getSimpleName() + " with given identifier {" + entityId + "} is locked and " + operation + " is forbidden!" +
(reason == null ? "" : " Reason: " + reason));
}
}