From bbb6aaa22e7b457125de209c7e8368e56cb04cbf Mon Sep 17 00:00:00 2001 From: Jordan Smith Date: Mon, 16 Dec 2024 07:01:47 -0800 Subject: [PATCH] Fix codec code bug --- source/fundamentals/data-formats/codecs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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