diff --git a/source/fundamentals/data-formats/codecs.txt b/source/fundamentals/data-formats/codecs.txt index ecb4ea416..786532da7 100644 --- a/source/fundamentals/data-formats/codecs.txt +++ b/source/fundamentals/data-formats/codecs.txt @@ -176,7 +176,7 @@ from the prior example using the following code: .. code-block:: java :copyable: true - Codec powerStatusCodec = codecRegistry.get(String.class); + Codec powerStatusCodec = codecRegistry.get(PowerStatus.class); Codec integerCodec = codecRegistry.get(Integer.class); If you attempt to retrieve a ``Codec`` instance for a class that is not