Apache Lucene open-source search software
SOLR-2758: Moved ConcurrentLRUCache from o.a.s.common.util package in the solrj module to the o.a.s.util package in the Solr core module.
Steven Rowea08639d08d75
diff --git a/dev-tools/maven/solr/solrj/pom.xml.template b/dev-tools/maven/solr/solrj/pom.xml.templateindex 2c3970ea28e..78fbd92efc3 100644--- a/dev-tools/maven/solr/solrj/pom.xml.template+++ b/dev-tools/maven/solr/solrj/pom.xml.template@@ -36,11 +36,6 @@<build-directory>../build/solr-solrj</build-directory></properties><dependencies>- <dependency>- <groupId>org.apache.lucene</groupId>- <artifactId>lucene-core</artifactId>- <version>${project.version}</version>- </dependency><dependency><groupId>org.apache.lucene</groupId><artifactId>lucene-test-framework</artifactId>diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex b7533efbf60..bc840ead361 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -346,7 +346,10 @@ Bug Fixes* LUCENE-3410: Deprecated the WordDelimiterFilter constructors accepting multipleints masquerading as booleans. Preferred constructor now accepts a single intbitfield (Chris Male)-++* SOLR-2758: Moved ConcurrentLRUCache from o.a.s.common.util package in the solrj+ module to the o.a.s.util package in the Solr core module.+ (David Smiley via Steve Rowe)================== 3.4.0 ==================diff --git a/solr/core/src/java/org/apache/solr/search/FastLRUCache.java b/solr/core/src/java/org/apache/solr/search/FastLRUCache.javaindex fabf07f7899..b74e2fda79c 100644--- a/solr/core/src/java/org/apache/solr/search/FastLRUCache.java+++ b/solr/core/src/java/org/apache/solr/search/FastLRUCache.java@@ -17,7 +17,7 @@ package org.apache.solr.search;*/import org.apache.solr.common.SolrException;-import org.apache.solr.common.util.ConcurrentLRUCache;+import org.apache.solr.util.ConcurrentLRUCache;import org.apache.solr.common.util.NamedList;import org.apache.solr.common.util.SimpleOrderedMap;import org.apache.solr.core.SolrCore;@@ -39,7 +39,7 @@ import java.util.concurrent.CopyOnWriteArrayList;* Also see <a href="http://wiki.apache.org/solr/SolrCaching">SolrCaching</a>**- * @see org.apache.solr.common.util.ConcurrentLRUCache+ * @see org.apache.solr.util.ConcurrentLRUCache* @see org.apache.solr.search.SolrCache* @since solr 1.4*/diff --git a/solr/solrj/src/java/org/apache/solr/common/util/ConcurrentLRUCache.java b/solr/core/src/java/org/apache/solr/util/ConcurrentLRUCache.javasimilarity index 99%rename from solr/solrj/src/java/org/apache/solr/common/util/ConcurrentLRUCache.javarename to solr/core/src/java/org/apache/solr/util/ConcurrentLRUCache.javaindex eb9e882fa08..28ce2ea6af7 100644--- a/solr/solrj/src/java/org/apache/solr/common/util/ConcurrentLRUCache.java+++ b/solr/core/src/java/org/apache/solr/util/ConcurrentLRUCache.java@@ -1,4 +1,4 @@-package org.apache.solr.common.util;+package org.apache.solr.util;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/solr/core/src/test/org/apache/solr/search/TestFastLRUCache.java b/solr/core/src/test/org/apache/solr/search/TestFastLRUCache.javaindex 0637c29c650..3dec3894d7f 100644--- a/solr/core/src/test/org/apache/solr/search/TestFastLRUCache.java+++ b/solr/core/src/test/org/apache/solr/search/TestFastLRUCache.java@@ -18,7 +18,7 @@ package org.apache.solr.search;import org.apache.lucene.util.LuceneTestCase;import org.apache.solr.common.util.NamedList;-import org.apache.solr.common.util.ConcurrentLRUCache;+import org.apache.solr.util.ConcurrentLRUCache;import java.io.IOException;import java.io.Serializable;