summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-08-10 14:06:07 -0700
committerRoozbeh Pournader <roozbeh@google.com>2015-08-10 14:06:07 -0700
commitc42363ad309d523d65fe8b66d16786a1d372805e (patch)
tree393583a453600f15fd7893b23e20bcbbb5a017fc /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0f9f0189822c6bee498b23c93512b6be0e9d1358 (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