diff --git a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java index eb01f48b46..6247c5e2be 100644 --- a/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java +++ b/irs-registry-client/src/main/java/org/eclipse/tractusx/irs/registryclient/decentral/DecentralDigitalTwinRegistryClient.java @@ -104,10 +104,10 @@ private static String encodeWithBase64(final IdentifierKeyValuePair assetIds) { } private static byte[] serialize(final IdentifierKeyValuePair assetIds) { - final ByteArrayOutputStream os = new ByteArrayOutputStream(); + final ByteArrayOutputStream stream = new ByteArrayOutputStream(); try { - WRITER.writeValue(os, assetIds); - return os.toByteArray(); + WRITER.writeValue(stream, assetIds); + return stream.toByteArray(); } catch (final IOException e) { return new byte[0]; }