Skip to content

Commit

Permalink
docs: correcting import to EventFormatProvider (#658)
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan R Mallya <[email protected]>
  • Loading branch information
rohanrmallya authored Oct 2, 2024
1 parent 2e87988 commit 6ab42de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/avro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion docs/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/json-jackson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion docs/protobuf.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion docs/xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6ab42de

Please sign in to comment.