From dad5f2ccda33c310c43579c40561092c933faf4e Mon Sep 17 00:00:00 2001 From: Braydon Date: Tue, 12 Dec 2023 00:36:55 -0500 Subject: [PATCH] fix: Fix generic checkstyle violation --- .../java/me/braydon/feather/IDatabase.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/me/braydon/feather/IDatabase.java b/src/main/java/me/braydon/feather/IDatabase.java index 24f366a..2651bf6 100644 --- a/src/main/java/me/braydon/feather/IDatabase.java +++ b/src/main/java/me/braydon/feather/IDatabase.java @@ -9,11 +9,11 @@ import java.io.Closeable; * * @author Braydon * @param the bootstrap class of this database - * @param the type of credentials this database uses - * @param

the type of pipeline for this database - * @param the type of async pipeline for this database + * @param the type of credentials this database uses + * @param the type of pipeline for this database + * @param the type of async pipeline for this database */ -public interface IDatabase extends Closeable { +public interface IDatabase extends Closeable { /** * Get the name of this database. * @@ -26,7 +26,7 @@ public interface IDatabase extends Closeable { * * @param credentials the optional credentials to use */ - void connect(A credentials); + void connect(C credentials); /** * Check if this database is connected. @@ -49,16 +49,16 @@ public interface IDatabase extends Closeable { * pipeline for this database. * * @return the synchronized pipeline - * @see P for synchronized pipeline + * @see S for synchronized pipeline */ - @NonNull P sync(); + @NonNull S sync(); /** * Get the asynchronous * pipeline for this database. * * @return the asynchronous pipeline - * @see AP for asynchronous pipeline + * @see A for asynchronous pipeline */ - @NonNull AP async(); + @NonNull A async(); } \ No newline at end of file