From a23af6306cdab64ba236d42cfa5fa38d46df6ba2 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 15 Mar 2018 18:19:43 +0100 Subject: [PATCH] Update test data of log tag consistency test on lint The reason is that UastUtils.tryResolveNamed (in LogDetector.checkTagConsistent) started to refer to the field of the property in the companion after d0ed0c40497 instead of its getter --- idea/testData/android/lint/log.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idea/testData/android/lint/log.kt b/idea/testData/android/lint/log.kt index ebf4d97adba..cc9e5e959c2 100644 --- a/idea/testData/android/lint/log.kt +++ b/idea/testData/android/lint/log.kt @@ -26,8 +26,8 @@ class LogTest { } fun checkWrongTag(tag: String) { - if (Log.isLoggable(TAG1, Log.DEBUG)) { - Log.d(TAG2, "message") // warn: mismatched tags! + if (Log.isLoggable(TAG1, Log.DEBUG)) { + Log.d(TAG2, "message") // warn: mismatched tags! } if (Log.isLoggable("my_tag", Log.DEBUG)) { Log.d("other_tag", "message") // warn: mismatched tags!