public String toOldString() {
    StringBuilder buffer = new StringBuilder();
    for(int i=0; leaves != null && i < leaves.size(); ++i) {
      buffer.append("leaf-");
      buffer.append(i);
      buffer.append(" = ");
      buffer.append(leaves.get(i).toString());
      buffer.append(", ");
    }
    buffer.append("expr = ");
    buffer.append(normalizedExpression.toOldString());
    return buffer.toString();
  }
Generate the backwards compatible string for test cases
@return the sarg using the old string
storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java