Skip to content

Commit

Permalink
Fix example in "Materialize an Extension" (#475)
Browse files Browse the repository at this point in the history
Was using `ExtensionParser` instead `ExtensionProvider`

Signed-off-by: Jorge Oliva <Jorge.OlivaFernandez@santander.co.uk>
  • Loading branch information
jolivaSan authored Sep 14, 2022
1 parent b9eaa2f commit 0dc1025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ CloudEvent extensions can be materialized in their respective POJOs using the
import io.cloudevents.core.extensions.DistributedTracingExtension;
import io.cloudevents.core.provider.ExtensionProvider;

DistributedTracingExtension dte = ExtensionsParser.getInstance()
DistributedTracingExtension dte = ExtensionProvider.getInstance()
.parseExtension(DistributedTracingExtension.class, event);
```

0 comments on commit 0dc1025

Please sign in to comment.