From 5c5b882b5df8bf9c1fb10b72de5ccf6a7ab16754 Mon Sep 17 00:00:00 2001 From: kimchy Date: Mon, 25 Oct 2010 14:44:47 +0200 Subject: [PATCH] clean code --- .../field/data/support/AbstractConcurrentMapFieldDataCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/cache/field/data/support/AbstractConcurrentMapFieldDataCache.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/cache/field/data/support/AbstractConcurrentMapFieldDataCache.java index c82ffc49609..f6c1262f05c 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/cache/field/data/support/AbstractConcurrentMapFieldDataCache.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/cache/field/data/support/AbstractConcurrentMapFieldDataCache.java @@ -81,7 +81,7 @@ public abstract class AbstractConcurrentMapFieldDataCache extends AbstractIndexC } } } - FieldData fieldData = (FieldData) fieldDataCache.get(fieldName); + FieldData fieldData = fieldDataCache.get(fieldName); if (fieldData == null) { synchronized (fieldDataCache) { fieldData = fieldDataCache.get(fieldName);