diff options
author | Petar Šegina <psegina@google.com> | 2017-09-27 20:18:03 +0100 |
---|---|---|
committer | Petar Šegina <psegina@google.com> | 2017-09-27 20:18:03 +0100 |
commit | cb2fdb8bb2cc4247926e1359de6f0280b909a1d4 (patch) | |
tree | 049e480c70f677fdd0c6febbbe27807abe9479d9 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2a791ee46cf7e15da4de687c03d27724dbac186c (diff) |
Replace stream operation with simple iteration
Although the stream approach is elegant, we already have a simple loop
iterating over the rectangles which we can reuse for finding the
starting rectangle and save the overhead of the stream / additional
iteration over the rectangles.
Test: manual - verify smart select still works
Change-Id: I4e4195ded4268a7c18ad1b0bc352a9c273396932
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions