Resolve warning by adding @Deprecated tag to deprecated method.
This commit is contained in:
@@ -74,6 +74,7 @@ public abstract class AbstractPollingEndpoint extends AbstractEndpoint implement
|
||||
/**
|
||||
* @deprecated As of release 2.0.2, use individual setters
|
||||
*/
|
||||
@Deprecated
|
||||
public void setPollerMetadata(PollerMetadata pollerMetadata){
|
||||
Assert.notNull(pollerMetadata, "'pollerMetadata' must not be null.");
|
||||
this.setAdviceChain(pollerMetadata.getAdviceChain());
|
||||
|
||||
Reference in New Issue
Block a user