Пример #1
0
  /** {@inheritDoc} */
  public String getData() {
    StringBuffer sb = new StringBuffer();

    for (int i = 0; i < data.size(); i++) {
      XAData xd = data.get(i);
      sb.append(xd.getUrl());
      if (i < data.size() - 1) sb.append(", ");
    }

    return sb.toString();
  }
Пример #2
0
 /** {@inheritDoc} */
 public void fail(XAData xd) {
   if (current != null && current.equals(xd)) current = null;
 }