commit | fd4e3b1156bb1c554cc8db3182002f26da48e2fc | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Oct 08 10:10:03 2013 -0700 |
committer | Shawn Pearce <sop@google.com> | Tue Oct 08 10:10:03 2013 -0700 |
tree | a13bb8418e9451a6c33659b7c5ef1724a46fd201 | |
parent | 4703ee93fc031e4fcbc39424e8bbb1e2cd9edc4f [diff] |
Make an unmodifiable copy of the list with current file paths The list with the current file paths that is stored in ChangeData should not be modified. To protect against modifications it is made unmodifiable and when setting the list a defensive copy of the passed list is done so that changes to the passed list after the fact do not impact the list stored in ChangeData. Change-Id: I396d63fc13caf6925aaab4fa5dd76fc7ba9816e6 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>