Fix checkstyle violation

This commit is contained in:
Braydon 2023-12-15 02:14:10 -05:00
parent d837f1e99b
commit 6aa2cfa7b8
3 changed files with 7 additions and 8 deletions

@ -3,7 +3,7 @@
* *
* For inquiries, please contact braydonrainnny@gmail.com * For inquiries, please contact braydonrainnny@gmail.com
*/ */
package me.braydon.feather.repository; package me.braydon.feather.database;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
@ -12,7 +12,6 @@ import lombok.NonNull;
import me.braydon.feather.FeatherSettings; import me.braydon.feather.FeatherSettings;
import me.braydon.feather.annotation.Serializable; import me.braydon.feather.annotation.Serializable;
import me.braydon.feather.common.FieldUtils; import me.braydon.feather.common.FieldUtils;
import me.braydon.feather.database.IDatabase;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.Field; import java.lang.reflect.Field;
@ -90,7 +89,7 @@ public abstract class Repository<D extends IDatabase<?, ?>, ID, E> {
public abstract long count(); 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 * @param id the entity id to drop
* @see ID for id * @see ID for id

@ -13,8 +13,8 @@ import com.mongodb.client.model.UpdateOneModel;
import com.mongodb.client.model.UpdateOptions; import com.mongodb.client.model.UpdateOptions;
import lombok.NonNull; import lombok.NonNull;
import me.braydon.feather.common.Tuple; 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.database.impl.mongodb.annotation.Index;
import me.braydon.feather.repository.Repository;
import org.bson.Document; import org.bson.Document;
import java.lang.reflect.Field; import java.lang.reflect.Field;
@ -131,7 +131,7 @@ public class MongoRepository<ID, E> extends Repository<MongoDB, ID, E> {
} }
/** /**
* Drop the entity with the given id * Drop the entity with the given id.
* *
* @param id the entity id to drop * @param id the entity id to drop
* @see ID for id * @see ID for id
@ -143,7 +143,7 @@ public class MongoRepository<ID, E> extends Repository<MongoDB, ID, E> {
} }
/** /**
* Drop the entity with the given id * Drop the entity with the given id.
* *
* @param idKey the key of the id * @param idKey the key of the id
* @param id the entity id to drop * @param id the entity id to drop

@ -8,7 +8,7 @@ package me.braydon.feather.database.impl.redis;
import io.lettuce.core.api.sync.RedisCommands; import io.lettuce.core.api.sync.RedisCommands;
import lombok.NonNull; import lombok.NonNull;
import me.braydon.feather.data.Document; 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.ArrayList;
import java.util.Collections; import java.util.Collections;
@ -98,7 +98,7 @@ public class RedisRepository<ID, E> extends Repository<Redis, ID, E> {
} }
/** /**
* Drop the entity with the given id * Drop the entity with the given id.
* *
* @param id the entity id to drop * @param id the entity id to drop
* @see ID for id * @see ID for id