[broker] remove useless method "PersistentTopic#getPersistentTopic"
@@ -3154,10 +3154,6 @@ public class PersistentTopic extends AbstractTopic
}
}
- private PersistentTopic getPersistentTopic() {
- return this;
- }
-
private void registerTopicPolicyListener() {
if (brokerService.pulsar().getConfig().isSystemTopicEnabled()
&& brokerService.pulsar().getConfig().isTopicLevelPoliciesEnabled()) {
