import org.elasticsearch.client.Response;
import org.json.JSONObject;
+@Deprecated
public class DeleteResponse extends BaseResponse {
private boolean isDeleted;
JSONObject o = this.getJson(response);
if (o != null) {
this.isDeleted = "deleted".equals(o.getString("result"));
- } else {
- this.isDeleted = false;
}
} else {
this.isDeleted = false;