From 309b425e2c8bd80ff478de42078d30c3dafdf4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Tue, 12 Dec 2023 11:06:06 +0900 Subject: [PATCH] =?UTF-8?q?namespaces=E9=96=93=E9=81=95=E3=81=88=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/utils/ExampleInstrumentedTest.java | 2 +- .../nem/lacerta/utils/impl/FileUtilsImpl.java | 4 ++-- .../nem/lacerta/utils/module/FileUtilsModule.java | 9 +++++---- .../nem/lacerta/utils/repository/FileUtils.java | 2 +- .../{oen => one}/nem/lacerta/utils/ExampleUnitTest.java | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) rename utils/src/androidTest/java/{oen => one}/nem/lacerta/utils/ExampleInstrumentedTest.java (95%) rename utils/src/main/java/{oen => one}/nem/lacerta/utils/impl/FileUtilsImpl.java (89%) rename utils/src/main/java/{oen => one}/nem/lacerta/utils/module/FileUtilsModule.java (54%) rename utils/src/main/java/{oen => one}/nem/lacerta/utils/repository/FileUtils.java (77%) rename utils/src/test/java/{oen => one}/nem/lacerta/utils/ExampleUnitTest.java (91%) diff --git a/utils/src/androidTest/java/oen/nem/lacerta/utils/ExampleInstrumentedTest.java b/utils/src/androidTest/java/one/nem/lacerta/utils/ExampleInstrumentedTest.java similarity index 95% rename from utils/src/androidTest/java/oen/nem/lacerta/utils/ExampleInstrumentedTest.java rename to utils/src/androidTest/java/one/nem/lacerta/utils/ExampleInstrumentedTest.java index aa4da679..12359216 100644 --- a/utils/src/androidTest/java/oen/nem/lacerta/utils/ExampleInstrumentedTest.java +++ b/utils/src/androidTest/java/one/nem/lacerta/utils/ExampleInstrumentedTest.java @@ -1,4 +1,4 @@ -package oen.nem.lacerta.utils; +package one.nem.lacerta.utils; import android.content.Context; diff --git a/utils/src/main/java/oen/nem/lacerta/utils/impl/FileUtilsImpl.java b/utils/src/main/java/one/nem/lacerta/utils/impl/FileUtilsImpl.java similarity index 89% rename from utils/src/main/java/oen/nem/lacerta/utils/impl/FileUtilsImpl.java rename to utils/src/main/java/one/nem/lacerta/utils/impl/FileUtilsImpl.java index d67a9104..8bcb1f9f 100644 --- a/utils/src/main/java/oen/nem/lacerta/utils/impl/FileUtilsImpl.java +++ b/utils/src/main/java/one/nem/lacerta/utils/impl/FileUtilsImpl.java @@ -1,4 +1,4 @@ -package oen.nem.lacerta.utils.impl; +package one.nem.lacerta.utils.impl; import android.content.Context; @@ -9,7 +9,7 @@ import javax.inject.Inject; import dagger.hilt.android.qualifiers.ApplicationContext; -import oen.nem.lacerta.utils.repository.FileUtils; +import one.nem.lacerta.utils.repository.FileUtils; public class FileUtilsImpl implements FileUtils { diff --git a/utils/src/main/java/oen/nem/lacerta/utils/module/FileUtilsModule.java b/utils/src/main/java/one/nem/lacerta/utils/module/FileUtilsModule.java similarity index 54% rename from utils/src/main/java/oen/nem/lacerta/utils/module/FileUtilsModule.java rename to utils/src/main/java/one/nem/lacerta/utils/module/FileUtilsModule.java index 0102889e..3652978d 100644 --- a/utils/src/main/java/oen/nem/lacerta/utils/module/FileUtilsModule.java +++ b/utils/src/main/java/one/nem/lacerta/utils/module/FileUtilsModule.java @@ -1,16 +1,17 @@ -package oen.nem.lacerta.utils.module; +package one.nem.lacerta.utils.module; import dagger.Binds; import dagger.Module; import dagger.hilt.InstallIn; import dagger.hilt.components.SingletonComponent; -import one.nem.lacerta.data.utils.UtilsImpl; -import one.nem.lacerta.data.utils.UtilsRepo; +import one.nem.lacerta.utils.repository.FileUtils; +import one.nem.lacerta.utils.impl.FileUtilsImpl; @Module @InstallIn(SingletonComponent.class) abstract public class FileUtilsModule { @Binds - public abstract UtilsRepo bindUtils(UtilsImpl utilsImpl); + + } diff --git a/utils/src/main/java/oen/nem/lacerta/utils/repository/FileUtils.java b/utils/src/main/java/one/nem/lacerta/utils/repository/FileUtils.java similarity index 77% rename from utils/src/main/java/oen/nem/lacerta/utils/repository/FileUtils.java rename to utils/src/main/java/one/nem/lacerta/utils/repository/FileUtils.java index 20a0a575..3ef84652 100644 --- a/utils/src/main/java/oen/nem/lacerta/utils/repository/FileUtils.java +++ b/utils/src/main/java/one/nem/lacerta/utils/repository/FileUtils.java @@ -1,4 +1,4 @@ -package oen.nem.lacerta.utils.repository; +package one.nem.lacerta.utils.repository; import java.nio.file.Path; diff --git a/utils/src/test/java/oen/nem/lacerta/utils/ExampleUnitTest.java b/utils/src/test/java/one/nem/lacerta/utils/ExampleUnitTest.java similarity index 91% rename from utils/src/test/java/oen/nem/lacerta/utils/ExampleUnitTest.java rename to utils/src/test/java/one/nem/lacerta/utils/ExampleUnitTest.java index c028853f..49c38293 100644 --- a/utils/src/test/java/oen/nem/lacerta/utils/ExampleUnitTest.java +++ b/utils/src/test/java/one/nem/lacerta/utils/ExampleUnitTest.java @@ -1,4 +1,4 @@ -package oen.nem.lacerta.utils; +package one.nem.lacerta.utils; import org.junit.Test;