Polishing

This commit is contained in:
Juergen Hoeller
2013-12-10 13:26:52 +01:00
parent d6e84631f5
commit be63c07b2e
3 changed files with 10 additions and 15 deletions

View File

@@ -417,7 +417,7 @@ public abstract class StatementCreatorUtils {
* @see DisposableSqlTypeValue#cleanup()
* @see org.springframework.jdbc.core.support.SqlLobValue#cleanup()
*/
public static void cleanupParameters(Object[] paramValues) {
public static void cleanupParameters(Object... paramValues) {
if (paramValues != null) {
cleanupParameters(Arrays.asList(paramValues));
}