improvements after code review #1

fix
This commit is contained in:
Ernir Erlingsson
2017-04-24 23:34:34 +02:00
parent 044719432a
commit 5f4e1ecdfd
5 changed files with 22 additions and 30 deletions

View File

@@ -65,7 +65,7 @@ class MessageTrackerImpl implements MessageTracker {
try {
BdfDictionary d = clientHelper.getGroupMetadataAsDictionary(g);
byte[] msgBytes = d.getOptionalRaw(GROUP_KEY_STORED_MESSAGE_ID);
return msgBytes != null? new MessageId(msgBytes) : null;
return msgBytes != null ? new MessageId(msgBytes) : null;
} catch (FormatException e) {
throw new DbException(e);
}