diff options
author | Suprabh Shukla <suprabh@google.com> | 2017-02-17 16:09:47 -0800 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2017-02-17 16:11:01 -0800 |
commit | 3dea1c7972ba350716b2f9b95de95ed4b2f3ea90 (patch) | |
tree | c90f8206cc40086257f664564425808e998227ae /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2e7d6d64b9b16ea27634bc0e8843717a465142b4 (diff) |
Removing unnecessary call to ArraySet#toArray
Iterating over ArraySet using iterators is still more efficient than
first calling ArraySet#toArray and then iterating over the array.
Test: Minor optimization. make and existing tests should suffice.
Change-Id: Ifc282bfca98cf89b047dddddd78a6de020f27381
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions