diff options
| author | 2024-05-17 12:20:11 +0900 | |
|---|---|---|
| committer | 2024-05-17 12:20:11 +0900 | |
| commit | 755a38a185d96c0d71a5eee23fab194e317ca810 (patch) | |
| tree | e2d2884653b33995922d9ebceec76d63053288fb /libs/androidfw/StringPool.cpp | |
| parent | 793a7090d3f400de5ad94937e9bf0f1e8a345740 (diff) | |
Prefer defining local variables over userData.mBindingController
UserData#mBindingController is a final field and is guaranteed to be
the same instance no matter when it gets read. Thus we should be able
to introduce a local variable to reference to it for better
readability.
This is a safe and mechanical code refactoring CL. There must be no
obsrevable behavior change.
Bug: 325515685
Test: presubmit
Change-Id: I6758a0ffcfa41665880facca54289cb81d6fd1f4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions