Skip to content

Commit 453a4eb

Browse files
Fix codec code bug (#605)
(cherry picked from commit 88c396a)
1 parent 1ff3727 commit 453a4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/fundamentals/data-formats/codecs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ from the prior example using the following code:
176176
.. code-block:: java
177177
:copyable: true
178178

179-
Codec<String> powerStatusCodec = codecRegistry.get(String.class);
179+
Codec<PowerStatus> powerStatusCodec = codecRegistry.get(PowerStatus.class);
180180
Codec<Integer> integerCodec = codecRegistry.get(Integer.class);
181181

182182
If you attempt to retrieve a ``Codec`` instance for a class that is not

0 commit comments

Comments
 (0)