Skip to content

Commit

Permalink
[CI] Auto commit changes from spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticsearchmachine committed Dec 27, 2024
1 parent 1706758 commit 644b2dc
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ public class SingleNodeShutdownMetadata implements SimpleDiffable<SingleNodeShut

static {
PARSER.declareString(ConstructingObjectParser.constructorArg(), NODE_ID_FIELD);
PARSER.declareField(ConstructingObjectParser.optionalConstructorArg(),
PARSER.declareField(
ConstructingObjectParser.optionalConstructorArg(),
(p, c) -> p.textOrNull(),
NODE_EPHEMERAL_ID_FIELD,
ObjectParser.ValueType.STRING_OR_NULL);
ObjectParser.ValueType.STRING_OR_NULL
);
PARSER.declareString(ConstructingObjectParser.constructorArg(), TYPE_FIELD);
PARSER.declareString(ConstructingObjectParser.constructorArg(), REASON_FIELD);
PARSER.declareLong(ConstructingObjectParser.constructorArg(), STARTED_AT_MILLIS_FIELD);
Expand Down Expand Up @@ -119,8 +121,7 @@ public static SingleNodeShutdownMetadata parse(XContentParser parser) {
*/
private SingleNodeShutdownMetadata(
String nodeId,
@Nullable
String nodeEphemeralId,
@Nullable String nodeEphemeralId,
Type type,
String reason,
long startedAtMillis,
Expand Down

0 comments on commit 644b2dc

Please sign in to comment.