anchor.diff: -
   <%
       /*
        * Copyright 2015 WSO2 Inc. (http://wso2.org)
  
positive.code: %>
  
  <%!
      private ArrayList<Metric> getMemoryMetrics() {
          ArrayList<Metric> metrics = new ArrayList<Metric>();
          addMemoryMetrics(metrics, "heap", "Heap");
          addMemoryMetrics(metrics, "non-heap", "Non-Heap");
  
negative.code:         metricsViewClient = new MetricsViewClient(cookie, backendServerURL, configContext);
          Gson gson = new Gson();
          MetricDataWrapper metricData = null;
          List<Metric> metrics = new ArrayList<Metric>();
          if ("Memory".equals(type)) {
              metrics = getMemoryMetrics();
          } else if ("CPU".equals(type)) {
  