Removing unused field/method
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18828 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
6c44b281b5
commit
0689459efd
|
@ -84,7 +84,7 @@ public class EntitiesConfigurator {
|
|||
classesAuditingData.updateCalculatedFields();
|
||||
|
||||
AuditMetadataGenerator auditMetaGen = new AuditMetadataGenerator(cfg, globalCfg, verEntCfg,
|
||||
revisionInfoRelationMapping, auditEntityNameRegister, classesAuditingData);
|
||||
revisionInfoRelationMapping, auditEntityNameRegister);
|
||||
|
||||
// First pass
|
||||
for (Map.Entry<PersistentClass, ClassAuditingData> pcDatasEntry : classesAuditingData.getAllClassAuditedData()) {
|
||||
|
|
|
@ -78,7 +78,6 @@ public final class AuditMetadataGenerator {
|
|||
private final Map<String, EntityConfiguration> notAuditedEntitiesConfigurations;
|
||||
|
||||
private final AuditEntityNameRegister auditEntityNameRegister;
|
||||
private final ClassesAuditingData classesAuditingData;
|
||||
|
||||
// Map entity name -> (join descriptor -> element describing the "versioned" join)
|
||||
private final Map<String, Map<Join, Element>> entitiesJoins;
|
||||
|
@ -86,8 +85,7 @@ public final class AuditMetadataGenerator {
|
|||
public AuditMetadataGenerator(Configuration cfg, GlobalConfiguration globalCfg,
|
||||
AuditEntitiesConfiguration verEntCfg,
|
||||
Element revisionInfoRelationMapping,
|
||||
AuditEntityNameRegister auditEntityNameRegister,
|
||||
ClassesAuditingData classesAuditingData) {
|
||||
AuditEntityNameRegister auditEntityNameRegister) {
|
||||
this.cfg = cfg;
|
||||
this.globalCfg = globalCfg;
|
||||
this.verEntCfg = verEntCfg;
|
||||
|
@ -98,8 +96,7 @@ public final class AuditMetadataGenerator {
|
|||
this.idMetadataGenerator = new IdMetadataGenerator(this);
|
||||
this.toOneRelationMetadataGenerator = new ToOneRelationMetadataGenerator(this);
|
||||
|
||||
this.auditEntityNameRegister = auditEntityNameRegister;
|
||||
this.classesAuditingData = classesAuditingData;
|
||||
this.auditEntityNameRegister = auditEntityNameRegister;
|
||||
|
||||
entitiesConfigurations = new HashMap<String, EntityConfiguration>();
|
||||
notAuditedEntitiesConfigurations = new HashMap<String, EntityConfiguration>();
|
||||
|
@ -458,10 +455,6 @@ public final class AuditMetadataGenerator {
|
|||
return entitiesConfigurations;
|
||||
}
|
||||
|
||||
public ClassesAuditingData getClassesAuditingData() {
|
||||
return classesAuditingData;
|
||||
}
|
||||
|
||||
// Getters for generators and configuration
|
||||
|
||||
BasicMetadataGenerator getBasicMetadataGenerator() {
|
||||
|
|
Loading…
Reference in New Issue