Skip to content

Commit

Permalink
added more precise java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier committed Jan 2, 2025
1 parent cdec3f2 commit 3cb2b5f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/main/java/minevalley/core/api/database/StatementBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param type the {@link ColumnType} of the parameter
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -76,7 +76,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param bool the {@code boolean} value to set
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -90,7 +90,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param b the {@code byte} value to set
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -104,7 +104,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param s the {@code short} value to set
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -118,7 +118,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param i the {@code int} value to set
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -132,7 +132,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param l the {@code long} value to set
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -146,7 +146,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param f the {@code float} value to set
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -160,7 +160,7 @@ public interface StatementBuilder extends AutoCloseable {
* @param d the {@code double} value to set
* @return this {@code StatementBuilder} object
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -177,7 +177,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code bd} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -194,7 +194,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code s} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -211,7 +211,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code bytes} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -228,7 +228,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code date} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -245,7 +245,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code time} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -262,7 +262,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code timestamp} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -283,7 +283,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code obj} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _ -> this")
Expand All @@ -304,7 +304,7 @@ public interface StatementBuilder extends AutoCloseable {
* @return this {@code StatementBuilder} object
* @throws IllegalArgumentException if {@code obj} is {@code null}
* @throws IllegalStateException if this method is called on a closed {@code StatementBuilder}
* @throws SQLException if a database access error occurs
* @throws SQLException if a database access error occurs or if {@code parameterIndex} does not correspond to a parameter marker in the SQL statement
*/
@Nonnull
@Contract("_, _, _ -> this")
Expand Down

0 comments on commit 3cb2b5f

Please sign in to comment.