Missing dot and parenthesis

This commit is contained in:
David Pilato 2017-03-01 13:20:46 +01:00
parent ee4a17a0e2
commit 2629c9896c
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ import org.elasticsearch.rest.RestStatus;
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:
* // tag::delete-request[]
* // end::delete-request[]
@ -101,7 +101,7 @@ public class DeleteDocumentationIT extends ESRestHighLevelClientTestCase {
try {
client.delete(request);
} catch (ElasticsearchException exception) {
if (exception.status().equals(RestStatus.CONFLICT) {
if (exception.status().equals(RestStatus.CONFLICT)) {
// <1>
}
}