diff --git a/opensrp-eusm/build.gradle b/opensrp-eusm/build.gradle index 527a749..77c9260 100644 --- a/opensrp-eusm/build.gradle +++ b/opensrp-eusm/build.gradle @@ -51,7 +51,7 @@ android { minSdkVersion androidMinSdkVersion targetSdkVersion androidTargetSdkVersion versionCode 1 - versionName "0.1.0" + versionName "0.1.1" multiDexEnabled true buildConfigField "long", "MAX_SERVER_TIME_DIFFERENCE", "1800000l" buildConfigField "boolean", "TIME_CHECK", "false" diff --git a/opensrp-eusm/src/main/java/org/smartregister/eusm/config/AppTaskingLibraryConfiguration.java b/opensrp-eusm/src/main/java/org/smartregister/eusm/config/AppTaskingLibraryConfiguration.java index b384f39..3c05c56 100644 --- a/opensrp-eusm/src/main/java/org/smartregister/eusm/config/AppTaskingLibraryConfiguration.java +++ b/opensrp-eusm/src/main/java/org/smartregister/eusm/config/AppTaskingLibraryConfiguration.java @@ -18,7 +18,6 @@ import net.sqlcipher.database.SQLiteDatabase; -import org.apache.commons.lang3.StringUtils; import org.json.JSONObject; import org.smartregister.clientandeventmodel.Event; import org.smartregister.commonregistry.CommonPersonObjectClient; @@ -138,7 +137,7 @@ public boolean isMDA() { @Override public String getCurrentLocationId() { Set currentOperationalAreas = AppUtils.getOperationalAreaLocations(PreferencesUtil.getInstance().getCurrentOperationalAreas()); - return !currentOperationalAreas.isEmpty() ? currentOperationalAreas.stream().filter(location -> location.getId() != null).map(location -> location.getId()).collect(Collectors.joining( PreferencesUtil.OPERATIONAL_AREA_SEPARATOR)) : null; + return !currentOperationalAreas.isEmpty() ? currentOperationalAreas.stream().filter(location -> location.getId() != null).map(location -> location.getId()).collect(Collectors.joining(PreferencesUtil.OPERATIONAL_AREA_SEPARATOR)) : null; } @Override diff --git a/opensrp-eusm/src/test/java/org/smartregister/eusm/application/EusmApplicationTest.java b/opensrp-eusm/src/test/java/org/smartregister/eusm/application/EusmApplicationTest.java index 034db9a..c75772b 100644 --- a/opensrp-eusm/src/test/java/org/smartregister/eusm/application/EusmApplicationTest.java +++ b/opensrp-eusm/src/test/java/org/smartregister/eusm/application/EusmApplicationTest.java @@ -24,7 +24,6 @@ import static org.junit.Assert.assertNotNull; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyZeroInteractions; import static org.mockito.Mockito.when; /** diff --git a/opensrp-eusm/src/test/java/org/smartregister/eusm/repository/AppStructureRepositoryTest.java b/opensrp-eusm/src/test/java/org/smartregister/eusm/repository/AppStructureRepositoryTest.java index ff471be..bf46bbe 100644 --- a/opensrp-eusm/src/test/java/org/smartregister/eusm/repository/AppStructureRepositoryTest.java +++ b/opensrp-eusm/src/test/java/org/smartregister/eusm/repository/AppStructureRepositoryTest.java @@ -22,8 +22,6 @@ import org.smartregister.eusm.domain.StructureDetail; import org.smartregister.view.activity.DrishtiApplication; -import java.util.Arrays; -import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set;