[Minor] code cleanup
This commit is contained in:
parent
ad603a528b
commit
5f72b05a86
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue