Skip to content

Commit 7eebc42

Browse files
committed
javadoc/naming
1 parent c6e7a05 commit 7eebc42

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

server/src/main/java/org/elasticsearch/indices/IndicesService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,7 @@ private void deleteIndexStoreIfDeletionAllowed(
11591159
* @param reasonText the reason for the shard deletion
11601160
* @param lock the lock of the shard to delete
11611161
* @param indexSettings the shards index settings.
1162+
* @param reason the reason for the deletion (as an enum)
11621163
* @throws IOException if an IOException occurs
11631164
*/
11641165
@Override

server/src/test/java/org/elasticsearch/index/IndexModuleTests.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,20 +152,10 @@ public void addPendingDelete(ShardId shardId, IndexSettings indexSettings, Index
152152

153153
private IndexStorePlugin.IndexFoldersDeletionListener indexDeletionListener = new IndexStorePlugin.IndexFoldersDeletionListener() {
154154
@Override
155-
public void beforeIndexFoldersDeleted(
156-
Index index,
157-
IndexSettings indexSettings,
158-
Path[] indexPaths,
159-
IndexRemovalReason indexRemovalReason
160-
) {}
155+
public void beforeIndexFoldersDeleted(Index index, IndexSettings indexSettings, Path[] indexPaths, IndexRemovalReason reason) {}
161156

162157
@Override
163-
public void beforeShardFoldersDeleted(
164-
ShardId shardId,
165-
IndexSettings indexSettings,
166-
Path[] shardPaths,
167-
IndexRemovalReason indexRemovalReason
168-
) {}
158+
public void beforeShardFoldersDeleted(ShardId shardId, IndexSettings indexSettings, Path[] shardPaths, IndexRemovalReason reason) {}
169159
};
170160

171161
private final IndexFieldDataCache.Listener listener = new IndexFieldDataCache.Listener() {

0 commit comments

Comments
 (0)