Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix the name of a method
  • Loading branch information
chenson42 committed May 25, 2012
1 parent d2757d5 commit afe79a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -80,7 +80,7 @@ public static IDatabasePlatform dropDatabaseTables(String databaseType, ISymmetr

new SqlScript(getResource(TestConstants.TEST_DROP_ALL_SCRIPT), platform.getSqlTemplate(),
false).execute(true);
((ParameterService) engine.getParameterService()).setDatabaseHashBeenInitialized(false);
((ParameterService) engine.getParameterService()).setDatabaseHasBeenInitialized(false);

fileName = TestConstants.TEST_DROP_SEQ_SCRIPT + databaseType + ".sql";
url = getResource(fileName);
Expand Down
Expand Up @@ -62,7 +62,7 @@ public class ParameterService implements IParameterService {

private Properties systemProperties;

private boolean databaseHashBeenInitialized = false;
private boolean databaseHasBeenInitialized = false;

private String tablePrefix;

Expand Down Expand Up @@ -208,10 +208,10 @@ private TypedProperties rereadDatabaseParameters(Properties p) {
properties.putAll(rereadDatabaseParameters(
p.getProperty(ParameterConstants.EXTERNAL_ID),
p.getProperty(ParameterConstants.NODE_GROUP_ID)));
databaseHashBeenInitialized = true;
databaseHasBeenInitialized = true;
return properties;
} catch (SqlException ex) {
if (databaseHashBeenInitialized) {
if (databaseHasBeenInitialized) {
throw ex;
} else {
return new TypedProperties();
Expand Down Expand Up @@ -331,8 +331,8 @@ public String getEngineName() {
return getString(ParameterConstants.ENGINE_NAME, "SymmetricDS");
}

public void setDatabaseHashBeenInitialized(boolean databaseHashBeenInitialized) {
this.databaseHashBeenInitialized = databaseHashBeenInitialized;
public void setDatabaseHasBeenInitialized(boolean databaseHasBeenInitialized) {
this.databaseHasBeenInitialized = databaseHasBeenInitialized;
}

}

0 comments on commit afe79a4

Please sign in to comment.