Missing dot and parenthesis
This commit is contained in:
parent
ee4a17a0e2
commit
2629c9896c
|
@ -34,7 +34,7 @@ import org.elasticsearch.rest.RestStatus;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is used to generate the Java Delete API documentation
|
* This class is used to generate the Java Delete API documentation.
|
||||||
* You need to wrap your code between two tags like:
|
* You need to wrap your code between two tags like:
|
||||||
* // tag::delete-request[]
|
* // tag::delete-request[]
|
||||||
* // end::delete-request[]
|
* // end::delete-request[]
|
||||||
|
@ -101,7 +101,7 @@ public class DeleteDocumentationIT extends ESRestHighLevelClientTestCase {
|
||||||
try {
|
try {
|
||||||
client.delete(request);
|
client.delete(request);
|
||||||
} catch (ElasticsearchException exception) {
|
} catch (ElasticsearchException exception) {
|
||||||
if (exception.status().equals(RestStatus.CONFLICT) {
|
if (exception.status().equals(RestStatus.CONFLICT)) {
|
||||||
// <1>
|
// <1>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue