summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2015-06-02 16:27:12 +0900
committerSeigo Nonaka <nona@google.com>2015-06-03 04:53:44 +0000
commit92adda2b616287146549d921dfe4c1199c0a4247 (patch)
tree20de940ba84c511838bd06a55a43f14beb1fbdd9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent11df5b66ef621c4d67f5b4980e879784de43fd70 (diff)
Use final in favor of initialization safety.
Making a member field final would be beneficial not only for the readability but also for the initialization safety. Leaving SpellCheckerSession#mSpellCheckerSessionListener non-final does not make sense not only because we never change that member field once SpellCheckerSession object is created and but also because SpellCheckerSession instance is designed to be accessed from multiple threads at the same time, no matter if it has something to do with Bug 18945456 or not. Change-Id: I1a7ebb54a5d0beddee8799fc5b0800c6e1059099
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions