Fix typos
See gh-2019
This commit is contained in:
@@ -172,7 +172,7 @@ public class CallMetaDataContext {
|
||||
}
|
||||
|
||||
/**
|
||||
* Secify the name of the schema.
|
||||
* Specify the name of the schema.
|
||||
*/
|
||||
public void setSchemaName(@Nullable String schemaName) {
|
||||
this.schemaName = schemaName;
|
||||
@@ -625,7 +625,7 @@ public class CallMetaDataContext {
|
||||
String schemaNameToUse;
|
||||
|
||||
// For Oracle where catalogs are not supported we need to reverse the schema name
|
||||
// and the catalog name since the cataog is used for the package name
|
||||
// and the catalog name since the catalog is used for the package name
|
||||
if (this.metaDataProvider.isSupportsSchemasInProcedureCalls() &&
|
||||
!this.metaDataProvider.isSupportsCatalogsInProcedureCalls()) {
|
||||
schemaNameToUse = this.metaDataProvider.catalogNameToUse(getCatalogName());
|
||||
|
||||
@@ -60,8 +60,8 @@ public class DatePerson {
|
||||
return balance;
|
||||
}
|
||||
|
||||
public void setBalance(BigDecimal balanace) {
|
||||
this.balance = balanace;
|
||||
public void setBalance(BigDecimal balance) {
|
||||
this.balance = balance;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -60,8 +60,8 @@ public class Person {
|
||||
return balance;
|
||||
}
|
||||
|
||||
public void setBalance(BigDecimal balanace) {
|
||||
this.balance = balanace;
|
||||
public void setBalance(BigDecimal balance) {
|
||||
this.balance = balance;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ public class ScriptUtilsIntegrationTests extends AbstractDatabaseInitializationT
|
||||
}
|
||||
|
||||
@Test
|
||||
public void executeSqlScriptContainingMuliLineComments() throws SQLException {
|
||||
public void executeSqlScriptContainingMultiLineComments() throws SQLException {
|
||||
executeSqlScript(db.getConnection(), resource("test-data-with-multi-line-comments.sql"));
|
||||
assertUsersDatabaseCreated("Hoeller", "Brannen");
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ public class ScriptUtilsUnitTests {
|
||||
}
|
||||
|
||||
@Test // SPR-9531
|
||||
public void readAndSplitScriptContainingMuliLineComments() throws Exception {
|
||||
public void readAndSplitScriptContainingMultiLineComments() throws Exception {
|
||||
String script = readScript("test-data-with-multi-line-comments.sql");
|
||||
List<String> statements = new ArrayList<>();
|
||||
splitSqlScript(script, ';', statements);
|
||||
|
||||
Reference in New Issue
Block a user