mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-11256: SchemaBootstrap must compare running schema against reference dump
Reference schemas (e.g. classpath:org/alfresco/util/schemacomp/reference/PostgreSQLDialect-Reference.xml) are loaded (if present) and the database is compared to that reference schema. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,7 +42,7 @@ public abstract class AbstractDbObject implements DbObject
|
||||
/** How differences in the name field should be reported */
|
||||
private Strength nameStrength = Strength.ERROR;
|
||||
protected ComparisonUtils comparisonUtils = new DefaultComparisonUtils();
|
||||
private List<DbValidator<?>> validators = new ArrayList<DbValidator<?>>();
|
||||
private List<DbValidator> validators = new ArrayList<DbValidator>();
|
||||
|
||||
|
||||
/**
|
||||
@@ -212,7 +212,7 @@ public abstract class AbstractDbObject implements DbObject
|
||||
|
||||
|
||||
@Override
|
||||
public List<DbValidator<? extends DbObject>> getValidators()
|
||||
public List<DbValidator> getValidators()
|
||||
{
|
||||
return validators;
|
||||
}
|
||||
@@ -222,7 +222,7 @@ public abstract class AbstractDbObject implements DbObject
|
||||
* @param validators the validators to set
|
||||
*/
|
||||
@Override
|
||||
public void setValidators(List<DbValidator<? extends DbObject>> validators)
|
||||
public void setValidators(List<DbValidator> validators)
|
||||
{
|
||||
if (validators == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user