@Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    for (String namespace : namespaces) {
      sb.append(namespace);
      sb.append("\n");
    }
    return sb.toString();
  }
@param namespaces the namespace name array
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/NamespacesModel.java