Skip to content

Commit 01c3f9c

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 7b58bac commit 01c3f9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetDatafeedRunningStateAction.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
145145
}
146146

147147
private final Map<String, RunningState> datafeedRunningState;
148+
148149
private static RunningState selectMostRecentState(RunningState state1, RunningState state2) {
149150

150151
if (state1.searchInterval != null && state2.searchInterval != null) {
@@ -158,9 +159,9 @@ private static RunningState selectMostRecentState(RunningState state1, RunningSt
158159
return state2;
159160
}
160161

161-
162-
return state2;
162+
return state2;
163163
}
164+
164165
public static Response fromResponses(List<Response> responses) {
165166
return new Response(
166167
responses.stream()

0 commit comments

Comments
 (0)