From 8325786b330e1d91fbcc4c095062b3c7b4febc95 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 19 Feb 2018 12:24:28 +0100 Subject: [PATCH] Remove unused method --- .../org/elasticsearch/index/engine/LiveVersionMap.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/engine/LiveVersionMap.java b/server/src/main/java/org/elasticsearch/index/engine/LiveVersionMap.java index 5f4d0a227e0..9410a0b1807 100644 --- a/server/src/main/java/org/elasticsearch/index/engine/LiveVersionMap.java +++ b/server/src/main/java/org/elasticsearch/index/engine/LiveVersionMap.java @@ -399,14 +399,6 @@ final class LiveVersionMap implements ReferenceManager.RefreshListener, Accounta } } - /** - * Caller has a lock, so that this uid will not be concurrently added/deleted by another thread. - */ - DeleteVersionValue getTombstoneUnderLock(BytesRef uid) { - assert keyedLock.isHeldByCurrentThread(uid); - return tombstones.get(uid); - } - /** * Called when this index is closed. */