From 7c3504b758001d180e4922a03c86cce44604b744 Mon Sep 17 00:00:00 2001 From: Michael Barker Date: Tue, 3 Sep 2024 11:40:23 +1200 Subject: [PATCH] [Java] Make constants package private. --- .../src/main/java/io/aeron/cluster/RecordingLog.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java b/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java index 03258c2f8d..5827f10641 100644 --- a/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java +++ b/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java @@ -121,12 +121,12 @@ */ public final class RecordingLog implements AutoCloseable { - public static final long MAGIC_NUMBER = 0xFFA3F010_00000000L; - public static final int HEADER_SIZE = 64; - public static final int MAJOR_VERSION = 0; - public static final int MINOR_VERSION = 1; - public static final int PATCH_VERSION = 0; - public static final int SEMANTIC_VERSION = SemanticVersion.compose(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION); + static final long MAGIC_NUMBER = 0xFFA3F010_00000000L; + static final int HEADER_SIZE = 64; + static final int MAJOR_VERSION = 0; + static final int MINOR_VERSION = 1; + static final int PATCH_VERSION = 0; + static final int SEMANTIC_VERSION = SemanticVersion.compose(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION); private static final int MAGIC_NUMBER_OFFSET = 0; private static final int VERSION_OFFSET = MAGIC_NUMBER_OFFSET + SIZE_OF_LONG;