Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Aug 21, 2023
1 parent 8be77cc commit ad1554a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -22,7 +22,8 @@
import org.springframework.lang.Nullable;

/**
* Simple adapter for {@link PreparedStatementSetter} that applies a given array of arguments.
* Simple adapter for {@link PreparedStatementSetter} that applies a given array
* of arguments.
*
* @author Juergen Hoeller
* @since 3.2.3
Expand All @@ -34,7 +35,7 @@ public class ArgumentPreparedStatementSetter implements PreparedStatementSetter,


/**
* Create a new ArgPreparedStatementSetter for the given arguments.
* Create a new {@code ArgumentPreparedStatementSetter} for the given arguments.
* @param args the arguments to set
*/
public ArgumentPreparedStatementSetter(@Nullable Object[] args) {
Expand All @@ -53,8 +54,9 @@ public void setValues(PreparedStatement ps) throws SQLException {
}

/**
* Set the value for prepared statements specified parameter index using the passed in value.
* This method can be overridden by subclasses if needed.
* Set the value for the prepared statement's specified parameter position
* using the supplied value.
* <p>This method can be overridden by subclasses if needed.
* @param ps the PreparedStatement
* @param parameterPosition index of the parameter position
* @param argValue the value to set
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,8 +25,8 @@
import org.springframework.lang.Nullable;

/**
* Simple adapter for {@link PreparedStatementSetter} that applies
* given arrays of arguments and JDBC argument types.
* Simple adapter for {@link PreparedStatementSetter} that applies the given
* arrays of arguments and JDBC argument types.
*
* @author Juergen Hoeller
* @since 3.2.3
Expand All @@ -41,7 +41,8 @@ public class ArgumentTypePreparedStatementSetter implements PreparedStatementSet


/**
* Create a new ArgTypePreparedStatementSetter for the given arguments.
* Create a new {@code ArgumentTypePreparedStatementSetter} for the given
* arguments and types.
* @param args the arguments to set
* @param argTypes the corresponding SQL types of the arguments
*/
Expand Down Expand Up @@ -84,8 +85,9 @@ public void setValues(PreparedStatement ps) throws SQLException {
}

/**
* Set the value for the prepared statement's specified parameter position using the passed in
* value and type. This method can be overridden by subclasses if needed.
* Set the value for the prepared statement's specified parameter position
* using the supplied value and type.
* <p>This method can be overridden by subclasses if needed.
* @param ps the PreparedStatement
* @param parameterPosition index of the parameter position
* @param argType the argument type
Expand Down

0 comments on commit ad1554a

Please sign in to comment.