Skip to content

Commit

Permalink
switch and add some annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier committed Jan 2, 2025
1 parent b331ce1 commit f7520c4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package minevalley.core.api.database;

import minevalley.core.api.Core;
import org.intellij.lang.annotations.Language;
import org.jetbrains.annotations.Contract;

import javax.annotation.Nonnull;
Expand Down Expand Up @@ -50,7 +51,7 @@ public interface StatementBuilder extends AutoCloseable {
*/
@Nonnull
@Contract("_ -> this")
StatementBuilder setSQL(@Nonnull String sql) throws IllegalArgumentException, IllegalStateException;
StatementBuilder setSQL(@Nonnull @Language("SQL") String sql) throws IllegalArgumentException, IllegalStateException;

/**
* Sets the parameter at the given index to SQL {@code NULL}.
Expand Down

0 comments on commit f7520c4

Please sign in to comment.