From 3a57188c35434d77172e4f64d780914be2272f3d Mon Sep 17 00:00:00 2001 From: Christian Sadilek Date: Thu, 27 May 2021 14:00:49 -0400 Subject: [PATCH] Fix lint/detekt issues --- app/src/main/java/org/mozilla/fenix/ext/Nimbus.kt | 3 ++- .../java/org/mozilla/fenix/nimbus/NimbusBranchesFragment.kt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/ext/Nimbus.kt b/app/src/main/java/org/mozilla/fenix/ext/Nimbus.kt index 634a12f388..94d42c98ca 100644 --- a/app/src/main/java/org/mozilla/fenix/ext/Nimbus.kt +++ b/app/src/main/java/org/mozilla/fenix/ext/Nimbus.kt @@ -63,7 +63,8 @@ fun NimbusApi.withVariables(featureId: FeatureId, sendExposureEvent: Boolean = t getVariables(featureId, sendExposureEvent) /** - * Get a `Variables` object for this feature and use that to configure the feature itself or a more type safe configuration object. + * Get a `Variables` object for this feature and use that to configure the feature itself or a + * more type safe configuration object. * * @param featureId the id of the feature as it appears in `Experimenter` * @param sendExposureEvent by default `true`. This logs an event that the user was exposed to an experiment diff --git a/app/src/main/java/org/mozilla/fenix/nimbus/NimbusBranchesFragment.kt b/app/src/main/java/org/mozilla/fenix/nimbus/NimbusBranchesFragment.kt index 9f2f09293b..235b3f27b5 100644 --- a/app/src/main/java/org/mozilla/fenix/nimbus/NimbusBranchesFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/nimbus/NimbusBranchesFragment.kt @@ -20,7 +20,6 @@ import org.mozilla.fenix.R import org.mozilla.fenix.components.StoreProvider import org.mozilla.fenix.ext.components import org.mozilla.fenix.ext.showToolbar -import org.mozilla.fenix.ext.withExperiment import org.mozilla.fenix.nimbus.controller.NimbusBranchesController import org.mozilla.fenix.nimbus.view.NimbusBranchesView