docs: correcting import to EventFormatProvider
Signed-off-by: Rohan R Mallya <bangalorerohan@gmail.com>
This commit is contained in:
parent
1de03ad38a
commit
a199537ab4
|
@ -28,7 +28,7 @@ No further configuration is required is use the module.
|
|||
|
||||
```java
|
||||
import io.cloudevents.CloudEvent;
|
||||
import io.cloudevents.core.format.EventFormatProvider;
|
||||
import io.cloudevents.core.provider.EventFormatProvider;
|
||||
import io.cloudevents.core.builder.CloudEventBuilder;
|
||||
import io.cloudevents.avro.avro.compact.AvroCompactFormat;
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ with Jackson, add `cloudevents-json-jackson` as a dependency and then using the
|
|||
`EventFormatProvider`:
|
||||
|
||||
```java
|
||||
import io.cloudevents.core.format.EventFormatProvider;
|
||||
import io.cloudevents.core.provider.EventFormatProvider;
|
||||
import io.cloudevents.jackson.JsonFormat;
|
||||
|
||||
EventFormat format = EventFormatProvider
|
||||
|
|
|
@ -29,7 +29,7 @@ adding the dependency to your project:
|
|||
```java
|
||||
import io.cloudevents.CloudEvent;
|
||||
import io.cloudevents.core.format.ContentType;
|
||||
import io.cloudevents.core.format.EventFormatProvider;
|
||||
import io.cloudevents.core.provider.EventFormatProvider;
|
||||
import io.cloudevents.core.builder.CloudEventBuilder;
|
||||
|
||||
CloudEvent event = CloudEventBuilder.v1()
|
||||
|
|
|
@ -31,7 +31,7 @@ No further configuration is required is use the module.
|
|||
```java
|
||||
import io.cloudevents.CloudEvent;
|
||||
import io.cloudevents.core.format.ContentType;
|
||||
import io.cloudevents.core.format.EventFormatProvider;
|
||||
import io.cloudevents.core.provider.EventFormatProvider;
|
||||
import io.cloudevents.core.builder.CloudEventBuilder;
|
||||
|
||||
CloudEvent event = CloudEventBuilder.v1()
|
||||
|
|
|
@ -30,7 +30,7 @@ adding the dependency to your project:
|
|||
```java
|
||||
import io.cloudevents.CloudEvent;
|
||||
import io.cloudevents.core.format.ContentType;
|
||||
import io.cloudevents.core.format.EventFormatProvider;
|
||||
import io.cloudevents.core.provider.EventFormatProvider;
|
||||
import io.cloudevents.core.builder.CloudEventBuilder;
|
||||
|
||||
CloudEvent event = CloudEventBuilder.v1()
|
||||
|
|
Loading…
Reference in New Issue