diff --git a/src/main/java/me/braydon/feather/repository/Repository.java b/src/main/java/me/braydon/feather/database/Repository.java similarity index 97% rename from src/main/java/me/braydon/feather/repository/Repository.java rename to src/main/java/me/braydon/feather/database/Repository.java index 7b12ac0..03c91d1 100644 --- a/src/main/java/me/braydon/feather/repository/Repository.java +++ b/src/main/java/me/braydon/feather/database/Repository.java @@ -3,7 +3,7 @@ * * For inquiries, please contact braydonrainnny@gmail.com */ -package me.braydon.feather.repository; +package me.braydon.feather.database; import lombok.AccessLevel; import lombok.AllArgsConstructor; @@ -12,7 +12,6 @@ import lombok.NonNull; import me.braydon.feather.FeatherSettings; import me.braydon.feather.annotation.Serializable; import me.braydon.feather.common.FieldUtils; -import me.braydon.feather.database.IDatabase; import java.lang.reflect.Constructor; import java.lang.reflect.Field; @@ -90,7 +89,7 @@ public abstract class Repository, ID, E> { public abstract long count(); /** - * Drop the entity with the given id + * Drop the entity with the given id. * * @param id the entity id to drop * @see ID for id diff --git a/src/main/java/me/braydon/feather/database/impl/mongodb/MongoRepository.java b/src/main/java/me/braydon/feather/database/impl/mongodb/MongoRepository.java index 71d56cc..2983ac7 100644 --- a/src/main/java/me/braydon/feather/database/impl/mongodb/MongoRepository.java +++ b/src/main/java/me/braydon/feather/database/impl/mongodb/MongoRepository.java @@ -13,8 +13,8 @@ import com.mongodb.client.model.UpdateOneModel; import com.mongodb.client.model.UpdateOptions; import lombok.NonNull; import me.braydon.feather.common.Tuple; +import me.braydon.feather.database.Repository; import me.braydon.feather.database.impl.mongodb.annotation.Index; -import me.braydon.feather.repository.Repository; import org.bson.Document; import java.lang.reflect.Field; @@ -131,7 +131,7 @@ public class MongoRepository extends Repository { } /** - * Drop the entity with the given id + * Drop the entity with the given id. * * @param id the entity id to drop * @see ID for id @@ -143,7 +143,7 @@ public class MongoRepository extends Repository { } /** - * Drop the entity with the given id + * Drop the entity with the given id. * * @param idKey the key of the id * @param id the entity id to drop diff --git a/src/main/java/me/braydon/feather/database/impl/redis/RedisRepository.java b/src/main/java/me/braydon/feather/database/impl/redis/RedisRepository.java index 8f4b3f9..217a46b 100644 --- a/src/main/java/me/braydon/feather/database/impl/redis/RedisRepository.java +++ b/src/main/java/me/braydon/feather/database/impl/redis/RedisRepository.java @@ -8,7 +8,7 @@ package me.braydon.feather.database.impl.redis; import io.lettuce.core.api.sync.RedisCommands; import lombok.NonNull; import me.braydon.feather.data.Document; -import me.braydon.feather.repository.Repository; +import me.braydon.feather.database.Repository; import java.util.ArrayList; import java.util.Collections; @@ -98,7 +98,7 @@ public class RedisRepository extends Repository { } /** - * Drop the entity with the given id + * Drop the entity with the given id. * * @param id the entity id to drop * @see ID for id