diff --git a/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java b/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java index a428503f61971..ebd7a7db13f82 100644 --- a/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java +++ b/server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java @@ -68,10 +68,12 @@ public class SingleNodeShutdownMetadata implements SimpleDiffable 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); @@ -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,