diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-04-10 14:12:12 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2017-04-11 17:11:03 +0000 |
commit | f3cae60106da7bef3ab69ea2423aebda491e5117 (patch) | |
tree | c0c013c152839c81a1b70aac895826cd696df7a9 /status-control | |
parent | b6b7bef8bdcad15af01ac88a038dd763ce59f68f (diff) |
Add missing defensive copy to APIResponse
APIResponse is supposed to be immutable, but was exposing
its internals in the getResponseBodyAsByteArray() method.
This change adds the missing defensive copy in that method.
Change-Id: I8a424a4cb72eb703fb425ffbd30ea70d6592f85a
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'status-control')
0 files changed, 0 insertions, 0 deletions