From b5c6a943313fdcc3198be2ef19ef4df252072602 Mon Sep 17 00:00:00 2001 From: Michael Law <1365977+lawmicha@users.noreply.github.com> Date: Wed, 29 Jun 2022 09:39:45 -0400 Subject: [PATCH] fix checkstyle --- .../datastore/SchemaDriftTest.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/aws-datastore/src/androidTest/java/com/amplifyframework/datastore/SchemaDriftTest.java b/aws-datastore/src/androidTest/java/com/amplifyframework/datastore/SchemaDriftTest.java index fbe2b25a6c..1da57b30c8 100644 --- a/aws-datastore/src/androidTest/java/com/amplifyframework/datastore/SchemaDriftTest.java +++ b/aws-datastore/src/androidTest/java/com/amplifyframework/datastore/SchemaDriftTest.java @@ -15,13 +15,9 @@ package com.amplifyframework.datastore; -import static androidx.test.core.app.ApplicationProvider.getApplicationContext; -import static com.amplifyframework.datastore.DataStoreHubEventFilters.publicationOf; -import static com.amplifyframework.datastore.DataStoreHubEventFilters.receiptOf; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; import android.content.Context; import androidx.annotation.RawRes; + import com.amplifyframework.AmplifyException; import com.amplifyframework.api.ApiCategory; import com.amplifyframework.api.aws.AWSApiPlugin; @@ -49,10 +45,16 @@ import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; -import java.util.Date; + import java.util.HashMap; import java.util.concurrent.TimeUnit; +import static androidx.test.core.app.ApplicationProvider.getApplicationContext; +import static com.amplifyframework.datastore.DataStoreHubEventFilters.publicationOf; +import static com.amplifyframework.datastore.DataStoreHubEventFilters.receiptOf; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; + public final class SchemaDriftTest { private static final int TIMEOUT_SECONDS = 60; @@ -120,8 +122,8 @@ public static void teardown() throws DataStoreException { } /** - * Perform DataStore.save - * Expected result: Model should be published to AppSync + * Perform DataStore.save. + * Expected result: Model should be published to AppSync. * @throws AmplifyException Not expected. */ @Test