Skip to content

Commit

Permalink
Fix for bug modifying immutable list.
Browse files Browse the repository at this point in the history
  • Loading branch information
moxie0 committed Feb 24, 2014
1 parent e8a0fac commit 559228a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public MessageKeys removeMessageKeys(ECPublicKey senderEphemeral, int counter) {
return null;
}

List<Chain.MessageKey> messageKeyList = chain.getMessageKeysList();
List<Chain.MessageKey> messageKeyList = new LinkedList<Chain.MessageKey>(chain.getMessageKeysList());
Iterator<Chain.MessageKey> messageKeyIterator = messageKeyList.iterator();
MessageKeys result = null;

Expand Down

0 comments on commit 559228a

Please sign in to comment.