equal
deleted
inserted
replaced
2185 if (resp.size() == 1) { |
2185 if (resp.size() == 1) { |
2186 // Single line response |
2186 // Single line response |
2187 return resp.get(0).substring(4); |
2187 return resp.get(0).substring(4); |
2188 } |
2188 } |
2189 // on multiple lines answers, like the ones above, remove 1st and last |
2189 // on multiple lines answers, like the ones above, remove 1st and last |
2190 // line, concat the the others. |
2190 // line, concat the others. |
2191 StringBuilder sb = new StringBuilder(); |
2191 StringBuilder sb = new StringBuilder(); |
2192 for (int i = 1; i < resp.size() - 1; i++) { |
2192 for (int i = 1; i < resp.size() - 1; i++) { |
2193 sb.append(resp.get(i).substring(3)); |
2193 sb.append(resp.get(i).substring(3)); |
2194 } |
2194 } |
2195 return sb.toString(); |
2195 return sb.toString(); |