From 2df530d8dedef865212b81df4d78fdd41c24d3bc Mon Sep 17 00:00:00 2001 From: Teemu Rossi Date: Sat, 5 Oct 2019 00:56:12 +0300 Subject: [PATCH] Fix reading EpoxyDataBindingPattern enableDoNotHash (#837) The enableDoNotHash flag was incorrecly parsed as false even when it was left at the default value (true) in the actual annotation. --- .../src/main/java/com/airbnb/epoxy/DataBindingProcessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epoxy-processor/src/main/java/com/airbnb/epoxy/DataBindingProcessor.kt b/epoxy-processor/src/main/java/com/airbnb/epoxy/DataBindingProcessor.kt index 091509b9d1..0a67267a44 100644 --- a/epoxy-processor/src/main/java/com/airbnb/epoxy/DataBindingProcessor.kt +++ b/epoxy-processor/src/main/java/com/airbnb/epoxy/DataBindingProcessor.kt @@ -58,7 +58,7 @@ internal class DataBindingProcessor( val moduleName = rClassName.packageName() val layoutClassName = ClassName.get(moduleName, "R", "layout") val enableDoNotHash = - element.annotation()?.enableDoNotHash == true + element.annotation()?.enableDoNotHash == true Utils.getElementByName(layoutClassName, elements, types) .enclosedElements