anchor.diff:  <!--durable active topic subscription list-->
   <h3><fmt:message key="subscription.topic.active.durable.list"/></h3>
   <%
  -    if (activeDurableTopicSubscriptionList == null || activeDurableTopicSubscriptionList.length <= 0) {
  +    if (activeDurableTopicSubscriptionList == null) {
   %>
   No subscriptions are created.
   <br/>
  
positive.code:     Subscription[] durableTopicSubscriptionList;
      Subscription[] activeDurableTopicSubscriptionList = null;
      Subscription[] inActiveDurableTopicSubscriptionList = null;
  
      // Number of items per grid
      int subscriptionCountPerPage = 20;
  
      // Default page number for grids.
      int normalTopicPageNumber = 0;
      int activeDurableTopicPageNumber = 0;
      int inactiveDurableTopicPageNumber = 0;
      int normalTopicNumberOfPages = 1;
      int activeDurableTopicNumberOfPages = 1;
      int inactiveDurableTopicNumberOfPages = 1;
  
      // URL concat value
      String concatenatedParams = "region=region1&item=Topic_subscriptions";
      try {
          // Getting normal topic subscriptions
          normalTopicSubscriptionList = stub.getAllLocalTempTopicSubscriptions();
  
          // Getting all durable topic subscriptions
          durableTopicSubscriptionList = stub.getAllDurableTopicSubscriptions();
  
          // Separating active and inactive subscriptions
          if (durableTopicSubscriptionList != null && durableTopicSubscriptionList.length != 0) {
              List<Subscription> activeSubs = new ArrayList<Subscription>();
              List<Subscription> inActiveSubs = new ArrayList<Subscription>();
  
negative.code: } else {
  
  %>
  <input type="hidden" name="pageNumber" value="<%=normalTopicPageNumber%>"/>
  <carbon:paginator pageNumber="<%=normalTopicPageNumber%>" numberOfPages="<%=numberOfPages%>"
                    page="topic_subscriptions_list.jsp" pageNumberParameterName="activeDurableTopicPageNumber"
                    resourceBundle="org.wso2.carbon.andes.ui.i18n.Resources"
                    prevKey="prev" nextKey="next"
  