Java Deprecated Inheritance Feature - What's the 'Right' Way Now?
Hello, we have a class that inherits from AbsoluteTimeAutoAdvancer:
public class WorkflowDelayedPublish extends AbsoluteTimeAutoAdvancer {
And we've started seeing these warnings:
[WARNING] C:\Projects\EWCM_Projects\ewcm\core\src\main\java\ewcm\global\core\workflow\email\process\WorkflowDelayedPublish.java [1:1]: Component ewcm.global.core.workflow.email.process.WorkflowDelayedPublish is using the deprecated inheritance feature and inherits from com.day.cq.workflow.timeout.autoadvance.AbsoluteTimeAutoAdvancer. This feature will be removed in future versions.
[WARNING] C:\Projects\EWCM_Projects\ewcm\core\src\main\java\ewcm\global\core\workflow\email\process\WorkflowDelayedPublish.java [1:1]: Component ewcm.global.core.workflow.email.process.WorkflowDelayedPublish is using the deprecated inheritance feature and inherits from com.day.cq.workflow.timeout.autoadvance.AutoAdvancer. This feature will be removed in future versions.
If someone could point me at how we're supposed to do this instead now, I'd really appreciate it. :)
Thank you!
Tim
