[Minor] code cleanup

This commit is contained in:
Robert von Burg 2023-04-17 11:43:51 +02:00
parent ad603a528b
commit 5f72b05a86
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ public class AuditingAuditMapFacade implements AuditTrail {
Long byType = this.deletedAllByType.get(type);
if (byType == null)
byType = 0L;
byType = byType + removed;
byType += removed;
this.deletedAllByType.put(type, byType);
this.deletedAll += removed;

View File

@ -21,7 +21,7 @@ public class Crc {
if ((w & 0x8000) != 0) {
w = (w << 1) ^ poly;
} else {
w = w << 1;
w <<= 1;
}
}
crcTable[x] = (short) w;