chrisdutz commented on code in PR #1007: URL: https://github.com/apache/plc4x/pull/1007#discussion_r1432338280
########## plc4j/spi/src/main/java/org/apache/plc4x/java/spi/generation/WriteBufferByteBased.java: ########## @@ -392,8 +396,8 @@ public void writeString(String logicalName, int bitLength, String value, WithWri case "UTF16LE": case "UTF16BE": { bytes = value.getBytes(StandardCharsets.UTF_16); - if(bytes.length > 2) { - bytes = new byte[] { + if (bytes.length > 2) { + bytes = new byte[]{ Review Comment: Admittedly I don#t quite understand neither the old nor the new version of this ;-) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org