From 06c661bd271f0b66bba9606c71e86feded8dac70 Mon Sep 17 00:00:00 2001 From: lorenz <stu203404@mail.uni-kiel.de> Date: Tue, 19 Apr 2022 11:56:53 +0200 Subject: [PATCH] Fix pmd: Add underscore to commons.kafka.WriteBuffer --- .../theodolite/commons/kafka/simpleserdes/WriteBuffer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theodolite-benchmarks/commons/src/main/java/rocks/theodolite/commons/kafka/simpleserdes/WriteBuffer.java b/theodolite-benchmarks/commons/src/main/java/rocks/theodolite/commons/kafka/simpleserdes/WriteBuffer.java index b10a1d610..25ffe9859 100644 --- a/theodolite-benchmarks/commons/src/main/java/rocks/theodolite/commons/kafka/simpleserdes/WriteBuffer.java +++ b/theodolite-benchmarks/commons/src/main/java/rocks/theodolite/commons/kafka/simpleserdes/WriteBuffer.java @@ -9,7 +9,7 @@ import java.nio.ByteBuffer; */ public class WriteBuffer { - private static final int BYTE_BUFFER_CAPACITY = 65536; // Is only virtual memory + private static final int BYTE_BUFFER_CAPACITY = 65_536; // Is only virtual memory private final ByteBuffer buffer = ByteBuffer.allocateDirect(BYTE_BUFFER_CAPACITY); -- GitLab