diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2015-08-10 14:06:07 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2015-08-10 14:06:07 -0700 |
commit | c42363ad309d523d65fe8b66d16786a1d372805e (patch) | |
tree | 393583a453600f15fd7893b23e20bcbbb5a017fc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0f9f0189822c6bee498b23c93512b6be0e9d1358 (diff) |
Avoid creating unnecessary builder objects in BidiFormatter.
Previously, BidiFormatter.getInstance() created an unnecessary
pass-through builder object, which was used to return a static
already existing BidiFormatter.
Now, we just return the same static BidiFormatter, without going
through a builder, so we can save some extra allocations.
Bug: 10022222
Change-Id: Ibcb6aac1c1e16d9ec00e93824fa063f8dccdf8cb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions