From 07828c3ab4c0bb155f88af9a5d1e6d1b5d63ccdf Mon Sep 17 00:00:00 2001 From: Chris Norman Date: Tue, 17 Dec 2024 16:53:06 -0500 Subject: [PATCH] Fix spotbugs issue. --- .../compression/nametokenisation/NameTokenisationDecode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/htsjdk/samtools/cram/compression/nametokenisation/NameTokenisationDecode.java b/src/main/java/htsjdk/samtools/cram/compression/nametokenisation/NameTokenisationDecode.java index 51338e488a..bc6561fc8a 100644 --- a/src/main/java/htsjdk/samtools/cram/compression/nametokenisation/NameTokenisationDecode.java +++ b/src/main/java/htsjdk/samtools/cram/compression/nametokenisation/NameTokenisationDecode.java @@ -21,7 +21,7 @@ public class NameTokenisationDecode { public final static CharSequence LOCAL_NAME_SEPARATOR_CHARSEQUENCE = new String(new byte[] {NAME_SEPARATOR}); public static final int UNCOMPRESSED_LENGTH_ADJUSTMENT = 1; - public static int DEFAULT_POSITION_ALLOCATION = 30; + public static final int DEFAULT_POSITION_ALLOCATION = 30; // the input must be a ByteBuffer containing the read names, separated by the NAME_SEPARATOR byte, WITHOUT // a terminating separator