From 303d08dd28f6eb3b5e951925fcdbae624fdc7688 Mon Sep 17 00:00:00 2001 From: Milosz Moczkowski Date: Fri, 23 Sep 2022 16:07:18 +0200 Subject: [PATCH] Spotless improvements --- .../apps/nowinandroid/core/database/DatabaseMigrations.kt | 4 ++-- .../samples/apps/nowinandroid/core/database/DatabaseModule.kt | 1 - .../nowinandroid/core/database/model/NewsResourceEntity.kt | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseMigrations.kt b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseMigrations.kt index 7e80f023c..c8ad557c9 100644 --- a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseMigrations.kt +++ b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseMigrations.kt @@ -43,8 +43,8 @@ object DatabaseMigrations { ) @DeleteTable.Entries( DeleteTable( - tableName = "episodes_authors" - ), + tableName = "episodes_authors" + ), DeleteTable( tableName = "episodes" ) diff --git a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseModule.kt b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseModule.kt index ca28bef1d..7d4dd67c8 100644 --- a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseModule.kt +++ b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/DatabaseModule.kt @@ -18,7 +18,6 @@ package com.google.samples.apps.nowinandroid.core.database import android.content.Context import androidx.room.Room -import androidx.room.migration.Migration import dagger.Module import dagger.Provides import dagger.hilt.InstallIn diff --git a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/model/NewsResourceEntity.kt b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/model/NewsResourceEntity.kt index 690f1fe44..9d33a04d5 100644 --- a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/model/NewsResourceEntity.kt +++ b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/model/NewsResourceEntity.kt @@ -18,8 +18,6 @@ package com.google.samples.apps.nowinandroid.core.database.model import androidx.room.ColumnInfo import androidx.room.Entity -import androidx.room.ForeignKey -import androidx.room.Index import androidx.room.PrimaryKey import com.google.samples.apps.nowinandroid.core.model.data.NewsResource import com.google.samples.apps.nowinandroid.core.model.data.NewsResourceType