@@ -56,7 +56,7 @@ public final class OpampClientImpl
5656 @ Nullable private Callbacks callbacks ;
5757
5858 /** Fields that must always be sent. */
59- private static final List <Field > CONSTANT_FIELDS ;
59+ private static final List <Field > REQUIRED_FIELDS ;
6060
6161 /**
6262 * Fields that should only be sent in the first message and then omitted in following messages,
@@ -69,12 +69,12 @@ public final class OpampClientImpl
6969 private static final List <Field > COMPRESSABLE_FIELDS ;
7070
7171 static {
72- // Constant fields init
72+ // Required fields init
7373 List <Field > constantFields = new ArrayList <>();
7474 constantFields .add (Field .INSTANCE_UID );
7575 constantFields .add (Field .SEQUENCE_NUM );
7676 constantFields .add (Field .CAPABILITIES );
77- CONSTANT_FIELDS = Collections .unmodifiableList (constantFields );
77+ REQUIRED_FIELDS = Collections .unmodifiableList (constantFields );
7878
7979 // Compressable fields init
8080 List <Field > compressableFields = new ArrayList <>();
@@ -96,7 +96,7 @@ public static OpampClientImpl create(RequestService requestService, OpampClientS
9696 FlagsAppender .create (state .flags ),
9797 AgentDisconnectAppender .create ());
9898 return new OpampClientImpl (
99- requestService , appenders , state , RecipeManager .create (CONSTANT_FIELDS ));
99+ requestService , appenders , state , RecipeManager .create (REQUIRED_FIELDS ));
100100 }
101101
102102 private OpampClientImpl (
0 commit comments