[Minor] code cleanup
This commit is contained in:
parent
c6a0eaaa17
commit
1320e694f1
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue