summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2016-10-04 11:36:11 +0900
committerHugo Benichi <hugobenichi@google.com>2016-10-11 09:54:19 +0900
commitde310dba78fa7cd60ad01cefa7fadb6d48fffcaa (patch)
tree327bc0ca20c0d5dff317b11d1808833d42252dc9 /docs/html/sdk/api_diff
parent9cf75061b143196c97c31726655c7e5c4ada8814 (diff)
Better LocalLog
This patch fixes the following issues in LocalLog: - reverseDump() uses a descending iterator with linear complexity instead of a quadratic loop using get(index) on a linked list. - reverseDump() is added to ReadOnlyLocalLog. - synchronized section in log() is restricted to mutation of internal list. - formatting of the log message does not create an internal StringBuilder. - the instance variable mNow is removed: it was only used inside log() as a local variable. - remaining instance variables are qualified with final. - the linked list is replaced by a fixed capacity array-backed queue. Test: added unit tests Change-Id: I1a54f0ad26dd35448d3297ea24df1fd626d20ef3
Diffstat (limited to 'docs/html/sdk/api_diff')
0 files changed, 0 insertions, 0 deletions