diff --git a/org.springframework.test/.classpath b/org.springframework.test/.classpath index 842dca8139..add4980e91 100644 --- a/org.springframework.test/.classpath +++ b/org.springframework.test/.classpath @@ -1,14 +1,15 @@ - - + + + @@ -27,6 +28,5 @@ - diff --git a/org.springframework.test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java b/org.springframework.test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java index 0660a1e3ed..00d8b0337e 100644 --- a/org.springframework.test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java +++ b/org.springframework.test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2009 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. @@ -16,24 +16,27 @@ package org.springframework.test.jdbc; -import org.springframework.util.StringUtils; - -import java.util.List; -import java.io.LineNumberReader; import java.io.IOException; +import java.io.LineNumberReader; +import java.util.List; + +import org.springframework.util.StringUtils; /** - * JdbcTestUtils is a collection of JDBC related utility methods for - * use in unit and integration testing scenarios. - * + * JdbcTestUtils is a collection of JDBC related utility methods for use in unit + * and integration testing scenarios. + * * @author Thomas Risberg * @since 2.5.4 */ public class JdbcTestUtils { /** - * Read a script from the LineNumberReader and build a String containing the lines. - * @param lineNumberReader the LineNumberReader containing the script to be processed + * Read a script from the LineNumberReader and build a String containing the + * lines. + * + * @param lineNumberReader the LineNumberReader containing the + * script to be processed * @return String containing the script lines * @throws IOException */ @@ -54,8 +57,10 @@ public class JdbcTestUtils { /** * Does the provided SQL script contain the specified delimiter? + * * @param script the SQL script - * @param delim charecter delimiting each statement - typically a ';' character + * @param delim character delimiting each statement - typically a ';' + * character */ public static boolean containsSqlScriptDelimiters(String script, char delim) { boolean inLiteral = false; @@ -72,10 +77,13 @@ public class JdbcTestUtils { } /** - * Split an SQL script into separate statements delimited with the provided delimiter character. Each - * individual statement will be added to the provided List. + * Split an SQL script into separate statements delimited with the provided + * delimiter character. Each individual statement will be added to the + * provided List. + * * @param script the SQL script - * @param delim charecter delimiting each statement - typically a ';' character + * @param delim character delimiting each statement - typically a ';' + * character * @param statements the List that will contain the individual statements */ public static void splitSqlScript(String script, char delim, List statements) {