From dbf631f9a0a8540c44fd9446838470cbaf3ba2b3 Mon Sep 17 00:00:00 2001 From: n-verbitsky Date: Wed, 3 Jun 2020 15:59:00 +0300 Subject: [PATCH] Removing registration of dependencies as singleton --- .../java/aquality/appium/mobile/application/MobileModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/aquality/appium/mobile/application/MobileModule.java b/src/main/java/aquality/appium/mobile/application/MobileModule.java index c8aef82..6932974 100644 --- a/src/main/java/aquality/appium/mobile/application/MobileModule.java +++ b/src/main/java/aquality/appium/mobile/application/MobileModule.java @@ -29,7 +29,7 @@ protected void configure() { bind(IConfiguration.class).to(getConfigurationImplementation()); bind(IElementFactory.class).to(getElementFactoryImplementation()); bind(IScreenFactory.class).to(getScreenFactoryImplementation()); - bind(ITouchActionsConfiguration.class).to(getTouchActionsConfigurationImplementation()).in(Singleton.class); - bind(ITouchActions.class).to(getTouchActionsImplementation()).in(Singleton.class); + bind(ITouchActionsConfiguration.class).to(getTouchActionsConfigurationImplementation()); + bind(ITouchActions.class).to(getTouchActionsImplementation()); } }