DATACMNS-469 - Removed deprecations.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user