Skip to content

Commit 0e63bdc

Browse files
author
Andrey Ershov
committed
Fix style
1 parent 4113830 commit 0e63bdc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

server/src/main/java/org/elasticsearch/gateway/MetaDataStateFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public final long write(final T state, final Path... locations) throws WriteStat
209209
return write(state, false, locations);
210210
}
211211

212-
private final long write(final T state, boolean cleanup, final Path... locations) throws WriteStateException {
212+
private long write(final T state, boolean cleanup, final Path... locations) throws WriteStateException {
213213
if (locations == null) {
214214
throw new IllegalArgumentException("Locations must not be null");
215215
}

server/src/test/java/org/elasticsearch/gateway/GatewayMetaStateTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ public void testTransactionAtomicityWithFailures() throws IOException {
389389
possibleMetaData.add(metaData);
390390

391391
for (int i = 0; i < randomIntBetween(1, 5); i++) {
392-
GatewayMetaState.AtomicClusterStateWriter writer = new GatewayMetaState.AtomicClusterStateWriter(metaStateService, manifest);
392+
GatewayMetaState.AtomicClusterStateWriter writer =
393+
new GatewayMetaState.AtomicClusterStateWriter(metaStateService, manifest);
393394
metaData = randomMetaDataForTx();
394395
Map<Index, Long> indexGenerations = new HashMap<>();
395396

0 commit comments

Comments
 (0)