From 8e4202f176efdd1612e70e09366c65e25c91a824 Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Thu, 10 Nov 2022 09:36:28 -0800 Subject: [PATCH] Don't wrap markdown Signed-off-by: Daniel Widdis --- USER_GUIDE.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/USER_GUIDE.md b/USER_GUIDE.md index c09f17c19b..6cd7b04b07 100644 --- a/USER_GUIDE.md +++ b/USER_GUIDE.md @@ -56,11 +56,7 @@ Transport transport = new RestClientTransport(restClient, new JacksonJsonpMapper OpenSearchClient client = new OpenSearchClient(transport); ``` -The `JacksonJsonpMapper` class (2.x versions) only supports Java 7 objects by default. -[Java 8 modules](https://github.com/FasterXML/jackson-modules-java8) to support JDK8 classes -such as the Date and Time API (JSR-310), `Optional`, and more can be used by including -[the additional datatype dependency](https://github.com/FasterXML/jackson-modules-java8#usage) -and adding the module. For example, to include JSR-310 classes: +The `JacksonJsonpMapper` class (2.x versions) only supports Java 7 objects by default. [Java 8 modules](https://github.com/FasterXML/jackson-modules-java8) to support JDK8 classes such as the Date and Time API (JSR-310), `Optional`, and more can be used by including [the additional datatype dependency](https://github.com/FasterXML/jackson-modules-java8#usage) and adding the module. For example, to include JSR-310 classes: ```java Transport transport = new RestClientTransport(restClient, @@ -139,4 +135,4 @@ client.delete(d -> d.index(index).id("1")); ```java DeleteIndexRequest deleteIndexRequest = new DeleteRequest.Builder().index(index).build(); DeleteIndexResponse deleteIndexResponse = client.indices().delete(deleteIndexRequest); -``` \ No newline at end of file +```