DATACMNS-469 - Removed deprecations.

This commit is contained in:
Oliver Gierke
2014-07-16 11:53:20 +02:00
parent 789f620af1
commit ed0f7c51f8
12 changed files with 34 additions and 171 deletions

View File

@@ -45,16 +45,6 @@ public class AuditingHandler implements InitializingBean {
private boolean dateTimeForNow = true;
private boolean modifyOnCreation = true;
/**
* Creates a new {@link AuditingHandler}.
*
* @deprecated use the constructor taking a {@link MappingContext}.
*/
@Deprecated
public AuditingHandler() {
this.factory = new AuditableBeanWrapperFactory();
}
/**
* Creates a new {@link AuditableBeanWrapper} using the given {@link MappingContext} when looking up auditing metadata
* via reflection.

View File

@@ -50,19 +50,6 @@ public class IsNewAwareAuditingHandler extends AuditingHandler {
this.isNewStrategyFactory = new MappingContextIsNewStrategyFactory(mappingContext);
}
/**
* Creates a new {@link IsNewAwareAuditingHandler} using the given {@link IsNewStrategyFactory}.
*
* @param isNewStrategyFactory must not be {@literal null}.
* @deprecated use constructor taking a {@link MappingContext} directly. Will be removed in 1.9.
*/
@Deprecated
public IsNewAwareAuditingHandler(IsNewStrategyFactory isNewStrategyFactory) {
Assert.notNull(isNewStrategyFactory, "IsNewStrategyFactory must not be null!");
this.isNewStrategyFactory = isNewStrategyFactory;
}
/**
* Marks the given object created or modified based on the {@link IsNewStrategy} returned by the
* {@link IsNewStrategyFactory} configured. Will rout the calls to {@link #markCreated(Object)} and