diff options
author | George Mount <mount@google.com> | 2018-05-17 08:44:19 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2018-05-17 10:20:26 -0700 |
commit | 24c7c961ba1eb09dccab240bcd18fd71df09a7dc (patch) | |
tree | 392d1f5884c7fd2bc8075d3daaccf84f0b93cd0c /compiler/src/main/kotlin/android/databinding/tool | |
parent | 74e1bf37757f3fc6e4450946769494feebf67e13 (diff) | |
download | data-binding-24c7c961ba1eb09dccab240bcd18fd71df09a7dc.tar.gz |
Fix compilationTest errors.
Bug: 79921349
These tests seemed to have suffered bit rot. This fixes
them so that they work with AndroidX and other recent
changes.
Test: ran compilationTest tests
Change-Id: I7e4e3d51caf756544f529bb548c54c4deb3d7dcf
Diffstat (limited to 'compiler/src/main/kotlin/android/databinding/tool')
-rw-r--r-- | compiler/src/main/kotlin/android/databinding/tool/writer/BindingMapperWriter.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/main/kotlin/android/databinding/tool/writer/BindingMapperWriter.kt b/compiler/src/main/kotlin/android/databinding/tool/writer/BindingMapperWriter.kt index c91afcb0..0a707b88 100644 --- a/compiler/src/main/kotlin/android/databinding/tool/writer/BindingMapperWriter.kt +++ b/compiler/src/main/kotlin/android/databinding/tool/writer/BindingMapperWriter.kt @@ -159,7 +159,7 @@ class BindingMapperWriter( } block("private static class InnerBrLookup") { - nl("static final SparseArray<String> sKeys = new SparseArray();") + nl("static final SparseArray<String> sKeys = new SparseArray<>();") block("static") { tab("sKeys.put(0, \"_all\");") brValueLookup.forEach { |