[Minor] code cleanup

This commit is contained in:
Robert von Burg 2023-04-17 08:51:04 +02:00
parent c6a0eaaa17
commit 1320e694f1
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 4 additions and 4 deletions

View File

@ -32,8 +32,8 @@ import li.strolch.utils.dbc.DBC;
/**
* <p>
* This {@link AuditTrail} facade registers all actions performed i.e. it registers which {@link StrolchRootElement
* StrolchRootElements} are retrieved, created, updated and deleted.
* This {@link AuditTrail} facade registers all actions performed i.e. it registers which
* {@link StrolchRootElement StrolchRootElements} are retrieved, created, updated and deleted.
* </p>
*
* <p>
@ -380,7 +380,7 @@ public abstract class AuditingElementMapFacade<T extends StrolchRootElement> imp
Long byType = this.deletedAllByType.get(type);
if (byType == null)
byType = 0L;
byType = byType + removed;
byType += removed;
this.deletedAllByType.put(type, byType);
return removed;

View File

@ -57,7 +57,7 @@ public class FloatValue implements IValue<Double>, Serializable {
@Override
public FloatValue add(Double o) {
this.value = this.value + o;
this.value += o;
return this;
}