code: @Deprecated
      // TODO: Remove in Smack 4.5.
      public static PubSubManager getInstance(XMPPConnection connection, BareJid pubSubService) {
          return getInstanceFor(connection, pubSubService);
      }
docs: Deprecated.
  
  @deprecated use {@link #getInstanceFor(XMPPConnection, BareJid)} instead.